Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: remoting/host/setup/daemon_controller_delegate_win.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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; 13 class DaemonInstallerWin;
14 14
15 class DaemonControllerDelegateWin : public DaemonController::Delegate { 15 class DaemonControllerDelegateWin : public DaemonController::Delegate {
16 public: 16 public:
17 DaemonControllerDelegateWin(); 17 DaemonControllerDelegateWin();
18 ~DaemonControllerDelegateWin() override; 18 ~DaemonControllerDelegateWin() override;
19 19
20 // DaemonController::Delegate interface. 20 // DaemonController::Delegate interface.
21 DaemonController::State GetState() override; 21 DaemonController::State GetState() override;
22 scoped_ptr<base::DictionaryValue> GetConfig() override; 22 std::unique_ptr<base::DictionaryValue> GetConfig() override;
23 void SetConfigAndStart( 23 void SetConfigAndStart(
24 scoped_ptr<base::DictionaryValue> config, 24 std::unique_ptr<base::DictionaryValue> config,
25 bool consent, 25 bool consent,
26 const DaemonController::CompletionCallback& done) override; 26 const DaemonController::CompletionCallback& done) override;
27 void UpdateConfig( 27 void UpdateConfig(std::unique_ptr<base::DictionaryValue> config,
28 scoped_ptr<base::DictionaryValue> config, 28 const DaemonController::CompletionCallback& done) override;
29 const DaemonController::CompletionCallback& done) override;
30 void Stop(const DaemonController::CompletionCallback& done) override; 29 void Stop(const DaemonController::CompletionCallback& done) override;
31 DaemonController::UsageStatsConsent GetUsageStatsConsent() override; 30 DaemonController::UsageStatsConsent GetUsageStatsConsent() override;
32 31
33 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateWin); 32 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateWin);
34 }; 33 };
35 34
36 } // namespace remoting 35 } // namespace remoting
37 36
38 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_ 37 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/setup/daemon_controller_delegate_mac.mm ('k') | remoting/host/setup/daemon_controller_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698