1// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
6#define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
7
8#include "base/memory/scoped_ptr.h"
9#include "remoting/host/setup/daemon_controller.h"
10
11namespace remoting {
12
13class DaemonControllerDelegateLinux : public DaemonController::Delegate {
14 public:
15  DaemonControllerDelegateLinux();
16  virtual ~DaemonControllerDelegateLinux();
17
18  // DaemonController::Delegate interface.
19  virtual DaemonController::State GetState() OVERRIDE;
20  virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE;
21  virtual void InstallHost(
22      const DaemonController::CompletionCallback& done) OVERRIDE;
23  virtual void SetConfigAndStart(
24      scoped_ptr<base::DictionaryValue> config,
25      bool consent,
26      const DaemonController::CompletionCallback& done) OVERRIDE;
27  virtual void UpdateConfig(
28      scoped_ptr<base::DictionaryValue> config,
29      const DaemonController::CompletionCallback& done) OVERRIDE;
30  virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE;
31  virtual void SetWindow(void* window_handle) OVERRIDE;
32  virtual std::string GetVersion() OVERRIDE;
33  virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() OVERRIDE;
34
35 private:
36  DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateLinux);
37};
38
39}  // namespace remoting
40
41#endif  // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
42