OLD | NEW |
---|---|
(Empty) | |
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/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.
| |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "remoting/host/setup/daemon_controller.h" | |
11 | |
12 namespace remoting { | |
13 | |
14 class DaemonControllerDelegateLinux : public DaemonController::Delegate { | |
15 public: | |
16 DaemonControllerDelegateLinux(); | |
17 virtual ~DaemonControllerDelegateLinux(); | |
18 | |
19 // DaemonController::Delegate interface. | |
20 virtual DaemonController::State GetState() OVERRIDE; | |
21 virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE; | |
22 virtual void SetConfigAndStart( | |
23 scoped_ptr<base::DictionaryValue> config, | |
24 bool consent, | |
25 const DaemonController::CompletionCallback& done) OVERRIDE; | |
26 virtual void UpdateConfig( | |
27 scoped_ptr<base::DictionaryValue> config, | |
28 const DaemonController::CompletionCallback& done) OVERRIDE; | |
29 virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE; | |
30 virtual void SetWindow(void* window_handle) OVERRIDE; | |
31 virtual std::string GetVersion() OVERRIDE; | |
32 virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() OVERRIDE; | |
33 | |
34 private: | |
35 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateLinux); | |
36 }; | |
37 | |
38 } // namespace remoting | |
39 | |
40 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_ | |
OLD | NEW |