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