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

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

Issue 660803004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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_LINUX_H_ 5 #ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
6 #define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_ 6 #define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.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 DaemonControllerDelegateLinux : public DaemonController::Delegate { 13 class DaemonControllerDelegateLinux : public DaemonController::Delegate {
14 public: 14 public:
15 DaemonControllerDelegateLinux(); 15 DaemonControllerDelegateLinux();
16 virtual ~DaemonControllerDelegateLinux(); 16 ~DaemonControllerDelegateLinux() override;
17 17
18 // DaemonController::Delegate interface. 18 // DaemonController::Delegate interface.
19 virtual DaemonController::State GetState() override; 19 DaemonController::State GetState() override;
20 virtual scoped_ptr<base::DictionaryValue> GetConfig() override; 20 scoped_ptr<base::DictionaryValue> GetConfig() override;
21 virtual void InstallHost( 21 void InstallHost(const DaemonController::CompletionCallback& done) override;
22 const DaemonController::CompletionCallback& done) override; 22 void SetConfigAndStart(
23 virtual void SetConfigAndStart(
24 scoped_ptr<base::DictionaryValue> config, 23 scoped_ptr<base::DictionaryValue> config,
25 bool consent, 24 bool consent,
26 const DaemonController::CompletionCallback& done) override; 25 const DaemonController::CompletionCallback& done) override;
27 virtual void UpdateConfig( 26 void UpdateConfig(scoped_ptr<base::DictionaryValue> config,
28 scoped_ptr<base::DictionaryValue> config, 27 const DaemonController::CompletionCallback& done) override;
29 const DaemonController::CompletionCallback& done) override; 28 void Stop(const DaemonController::CompletionCallback& done) override;
30 virtual void Stop(const DaemonController::CompletionCallback& done) override; 29 void SetWindow(void* window_handle) override;
31 virtual void SetWindow(void* window_handle) override; 30 std::string GetVersion() override;
32 virtual std::string GetVersion() override; 31 DaemonController::UsageStatsConsent GetUsageStatsConsent() override;
33 virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() override;
34 32
35 private: 33 private:
36 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateLinux); 34 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateLinux);
37 }; 35 };
38 36
39 } // namespace remoting 37 } // namespace remoting
40 38
41 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_ 39 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
OLDNEW
« no previous file with comments | « remoting/host/register_support_host_request_unittest.cc ('k') | remoting/host/setup/me2me_native_messaging_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698