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

Unified Diff: remoting/host/desktop_session_agent.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/desktop_resizer_mac.cc ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_agent.h
diff --git a/remoting/host/desktop_session_agent.h b/remoting/host/desktop_session_agent.h
index 0aec84d3478fc06d72d6ceafaac28eec62046d09..e3c0b62dbd444893582acf198f2f31907ae00137 100644
--- a/remoting/host/desktop_session_agent.h
+++ b/remoting/host/desktop_session_agent.h
@@ -71,19 +71,18 @@ class DesktopSessionAgent
scoped_refptr<AutoThreadTaskRunner> video_capture_task_runner);
// IPC::Listener implementation.
- virtual bool OnMessageReceived(const IPC::Message& message) override;
- virtual void OnChannelConnected(int32 peer_pid) override;
- virtual void OnChannelError() override;
+ bool OnMessageReceived(const IPC::Message& message) override;
+ void OnChannelConnected(int32 peer_pid) override;
+ void OnChannelError() override;
// webrtc::DesktopCapturer::Callback implementation.
- virtual webrtc::SharedMemory* CreateSharedMemory(size_t size) override;
- virtual void OnCaptureCompleted(webrtc::DesktopFrame* frame) override;
+ webrtc::SharedMemory* CreateSharedMemory(size_t size) override;
+ void OnCaptureCompleted(webrtc::DesktopFrame* frame) override;
// webrtc::MouseCursorMonitor::Callback implementation.
- virtual void OnMouseCursor(webrtc::MouseCursor* cursor) override;
- virtual void OnMouseCursorPosition(
- webrtc::MouseCursorMonitor::CursorState state,
- const webrtc::DesktopVector& position) override;
+ void OnMouseCursor(webrtc::MouseCursor* cursor) override;
+ void OnMouseCursorPosition(webrtc::MouseCursorMonitor::CursorState state,
+ const webrtc::DesktopVector& position) override;
// Forwards a local clipboard event though the IPC channel to the network
// process.
@@ -104,15 +103,14 @@ class DesktopSessionAgent
protected:
friend class base::RefCountedThreadSafe<DesktopSessionAgent>;
- virtual ~DesktopSessionAgent();
+ ~DesktopSessionAgent() override;
// ClientSessionControl interface.
- virtual const std::string& client_jid() const override;
- virtual void DisconnectSession() override;
- virtual void OnLocalMouseMoved(
- const webrtc::DesktopVector& position) override;
- virtual void SetDisableInputs(bool disable_inputs) override;
- virtual void ResetVideoPipeline() override;
+ const std::string& client_jid() const override;
+ void DisconnectSession() override;
+ void OnLocalMouseMoved(const webrtc::DesktopVector& position) override;
+ void SetDisableInputs(bool disable_inputs) override;
+ void ResetVideoPipeline() override;
// Handles StartSessionAgent request from the client.
void OnStartSessionAgent(const std::string& authenticated_jid,
« no previous file with comments | « remoting/host/desktop_resizer_mac.cc ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698