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

Unified Diff: remoting/host/desktop_session_agent.cc

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_session_agent.h ('k') | remoting/host/desktop_session_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_agent.cc
diff --git a/remoting/host/desktop_session_agent.cc b/remoting/host/desktop_session_agent.cc
index d4b15a0cd4e1c4648f7705d10b662257f5f153ca..6ba38e3826764a9bb041d7a375706abda5b26eff 100644
--- a/remoting/host/desktop_session_agent.cc
+++ b/remoting/host/desktop_session_agent.cc
@@ -39,11 +39,10 @@ class DesktopSesssionClipboardStub : public protocol::ClipboardStub {
public:
explicit DesktopSesssionClipboardStub(
scoped_refptr<DesktopSessionAgent> desktop_session_agent);
- virtual ~DesktopSesssionClipboardStub();
+ ~DesktopSesssionClipboardStub() override;
// protocol::ClipboardStub implementation.
- virtual void InjectClipboardEvent(
- const protocol::ClipboardEvent& event) override;
+ void InjectClipboardEvent(const protocol::ClipboardEvent& event) override;
private:
scoped_refptr<DesktopSessionAgent> desktop_session_agent_;
@@ -79,9 +78,7 @@ class DesktopSessionAgent::SharedBuffer : public webrtc::SharedMemory {
return make_scoped_ptr(new SharedBuffer(agent, memory.Pass(), size, id));
}
- virtual ~SharedBuffer() {
- agent_->OnSharedBufferDeleted(id());
- }
+ ~SharedBuffer() override { agent_->OnSharedBufferDeleted(id()); }
private:
SharedBuffer(DesktopSessionAgent* agent,
« no previous file with comments | « remoting/host/desktop_session_agent.h ('k') | remoting/host/desktop_session_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698