OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_ | 5 #ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_ |
6 #define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_ | 6 #define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "remoting/host/setup/daemon_controller.h" | 9 #include "remoting/host/setup/daemon_controller.h" |
10 | 10 |
11 namespace remoting { | 11 namespace remoting { |
12 | 12 |
13 class DaemonInstallerWin; | |
14 | |
15 class DaemonControllerDelegateWin : public DaemonController::Delegate { | 13 class DaemonControllerDelegateWin : public DaemonController::Delegate { |
16 public: | 14 public: |
17 DaemonControllerDelegateWin(); | 15 DaemonControllerDelegateWin(); |
18 ~DaemonControllerDelegateWin() override; | 16 ~DaemonControllerDelegateWin() override; |
19 | 17 |
20 // DaemonController::Delegate interface. | 18 // DaemonController::Delegate interface. |
21 DaemonController::State GetState() override; | 19 DaemonController::State GetState() override; |
22 std::unique_ptr<base::DictionaryValue> GetConfig() override; | 20 std::unique_ptr<base::DictionaryValue> GetConfig() override; |
23 void SetConfigAndStart( | 21 void SetConfigAndStart( |
24 std::unique_ptr<base::DictionaryValue> config, | 22 std::unique_ptr<base::DictionaryValue> config, |
25 bool consent, | 23 bool consent, |
26 const DaemonController::CompletionCallback& done) override; | 24 const DaemonController::CompletionCallback& done) override; |
27 void UpdateConfig(std::unique_ptr<base::DictionaryValue> config, | 25 void UpdateConfig(std::unique_ptr<base::DictionaryValue> config, |
28 const DaemonController::CompletionCallback& done) override; | 26 const DaemonController::CompletionCallback& done) override; |
29 void Stop(const DaemonController::CompletionCallback& done) override; | 27 void Stop(const DaemonController::CompletionCallback& done) override; |
30 DaemonController::UsageStatsConsent GetUsageStatsConsent() override; | 28 DaemonController::UsageStatsConsent GetUsageStatsConsent() override; |
31 | 29 |
32 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateWin); | 30 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateWin); |
33 }; | 31 }; |
34 | 32 |
35 } // namespace remoting | 33 } // namespace remoting |
36 | 34 |
37 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_ | 35 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_ |
OLD | NEW |