Chromium Code Reviews| Index: remoting/host/setup/daemon_controller_delegate_linux.h |
| diff --git a/remoting/host/setup/daemon_controller_delegate_linux.h b/remoting/host/setup/daemon_controller_delegate_linux.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..63fd603d86b1c08de1a7fa7e93162cc0abca66ed |
| --- /dev/null |
| +++ b/remoting/host/setup/daemon_controller_delegate_linux.h |
| @@ -0,0 +1,40 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_ |
| +#define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_ |
| + |
| +#include "base/memory/ref_counted.h" |
|
Sergey Ulanov
2013/09/09 18:12:31
nit: not used in this file
alexeypa (please no reviews)
2013/09/09 19:30:57
Done.
|
| +#include "base/memory/scoped_ptr.h" |
| +#include "remoting/host/setup/daemon_controller.h" |
| + |
| +namespace remoting { |
| + |
| +class DaemonControllerDelegateLinux : public DaemonController::Delegate { |
| + public: |
| + DaemonControllerDelegateLinux(); |
| + virtual ~DaemonControllerDelegateLinux(); |
| + |
| + // DaemonController::Delegate interface. |
| + virtual DaemonController::State GetState() OVERRIDE; |
| + virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE; |
| + virtual void SetConfigAndStart( |
| + scoped_ptr<base::DictionaryValue> config, |
| + bool consent, |
| + const DaemonController::CompletionCallback& done) OVERRIDE; |
| + virtual void UpdateConfig( |
| + scoped_ptr<base::DictionaryValue> config, |
| + const DaemonController::CompletionCallback& done) OVERRIDE; |
| + virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE; |
| + virtual void SetWindow(void* window_handle) OVERRIDE; |
| + virtual std::string GetVersion() OVERRIDE; |
| + virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() OVERRIDE; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateLinux); |
| +}; |
| + |
| +} // namespace remoting |
| + |
| +#endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_ |