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

Side by Side Diff: remoting/host/desktop_process.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « remoting/host/daemon_process_unittest.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DESKTOP_PROCESS_H_ 5 #ifndef REMOTING_HOST_DESKTOP_PROCESS_H_
6 #define REMOTING_HOST_DESKTOP_PROCESS_H_ 6 #define REMOTING_HOST_DESKTOP_PROCESS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 17 matching lines...) Expand all
28 class DesktopSessionAgent; 28 class DesktopSessionAgent;
29 29
30 class DesktopProcess : public DesktopSessionAgent::Delegate, 30 class DesktopProcess : public DesktopSessionAgent::Delegate,
31 public IPC::Listener, 31 public IPC::Listener,
32 public base::SupportsWeakPtr<DesktopProcess> { 32 public base::SupportsWeakPtr<DesktopProcess> {
33 public: 33 public:
34 DesktopProcess( 34 DesktopProcess(
35 scoped_refptr<AutoThreadTaskRunner> caller_task_runner, 35 scoped_refptr<AutoThreadTaskRunner> caller_task_runner,
36 scoped_refptr<AutoThreadTaskRunner> input_task_runner, 36 scoped_refptr<AutoThreadTaskRunner> input_task_runner,
37 const std::string& daemon_channel_name); 37 const std::string& daemon_channel_name);
38 virtual ~DesktopProcess(); 38 ~DesktopProcess() override;
39 39
40 // DesktopSessionAgent::Delegate implementation. 40 // DesktopSessionAgent::Delegate implementation.
41 virtual DesktopEnvironmentFactory& desktop_environment_factory() override; 41 DesktopEnvironmentFactory& desktop_environment_factory() override;
42 virtual void OnNetworkProcessDisconnected() override; 42 void OnNetworkProcessDisconnected() override;
43 43
44 // IPC::Listener implementation. 44 // IPC::Listener implementation.
45 virtual bool OnMessageReceived(const IPC::Message& message) override; 45 bool OnMessageReceived(const IPC::Message& message) override;
46 virtual void OnChannelConnected(int32 peer_pid) override; 46 void OnChannelConnected(int32 peer_pid) override;
47 virtual void OnChannelError() override; 47 void OnChannelError() override;
48 48
49 // Injects Secure Attention Sequence. 49 // Injects Secure Attention Sequence.
50 void InjectSas(); 50 void InjectSas();
51 51
52 // Creates the desktop agent and required threads and IPC channels. Returns 52 // Creates the desktop agent and required threads and IPC channels. Returns
53 // true on success. 53 // true on success.
54 bool Start(scoped_ptr<DesktopEnvironmentFactory> desktop_environment_factory); 54 bool Start(scoped_ptr<DesktopEnvironmentFactory> desktop_environment_factory);
55 55
56 private: 56 private:
57 // Crashes the process in response to a daemon's request. The daemon passes 57 // Crashes the process in response to a daemon's request. The daemon passes
(...skipping 22 matching lines...) Expand all
80 // Provides screen/audio capturing and input injection services for 80 // Provides screen/audio capturing and input injection services for
81 // the network process. 81 // the network process.
82 scoped_refptr<DesktopSessionAgent> desktop_agent_; 82 scoped_refptr<DesktopSessionAgent> desktop_agent_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(DesktopProcess); 84 DISALLOW_COPY_AND_ASSIGN(DesktopProcess);
85 }; 85 };
86 86
87 } // namespace remoting 87 } // namespace remoting
88 88
89 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_ 89 #endif // REMOTING_HOST_DESKTOP_PROCESS_H_
OLDNEW
« no previous file with comments | « remoting/host/daemon_process_unittest.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698