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

Unified Diff: remoting/protocol/host_control_dispatcher.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/protocol/fake_stream_socket.h ('k') | remoting/protocol/host_event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_control_dispatcher.h
diff --git a/remoting/protocol/host_control_dispatcher.h b/remoting/protocol/host_control_dispatcher.h
index f97cfcd984d3bb3e3fb0bed3997bd22fcab91c83..eab64c25184ef6475eed97c3452959a30a16e115 100644
--- a/remoting/protocol/host_control_dispatcher.h
+++ b/remoting/protocol/host_control_dispatcher.h
@@ -31,20 +31,18 @@ class HostControlDispatcher : public ChannelDispatcherBase,
public ClientStub {
public:
HostControlDispatcher();
- virtual ~HostControlDispatcher();
+ ~HostControlDispatcher() override;
// ClientStub implementation.
- virtual void SetCapabilities(const Capabilities& capabilities) override;
- virtual void SetPairingResponse(
- const PairingResponse& pairing_response) override;
- virtual void DeliverHostMessage(
- const ExtensionMessage& message) override;
+ void SetCapabilities(const Capabilities& capabilities) override;
+ void SetPairingResponse(const PairingResponse& pairing_response) override;
+ void DeliverHostMessage(const ExtensionMessage& message) override;
// ClipboardStub implementation for sending clipboard data to client.
- virtual void InjectClipboardEvent(const ClipboardEvent& event) override;
+ void InjectClipboardEvent(const ClipboardEvent& event) override;
// CursorShapeStub implementation for sending cursor shape to client.
- virtual void SetCursorShape(const CursorShapeInfo& cursor_shape) override;
+ void SetCursorShape(const CursorShapeInfo& cursor_shape) override;
// Sets the ClipboardStub that will be called for each incoming clipboard
// message. |clipboard_stub| must outlive this object.
@@ -58,7 +56,7 @@ class HostControlDispatcher : public ChannelDispatcherBase,
protected:
// ChannelDispatcherBase overrides.
- virtual void OnInitialized() override;
+ void OnInitialized() override;
private:
void OnMessageReceived(scoped_ptr<ControlMessage> message,
« no previous file with comments | « remoting/protocol/fake_stream_socket.h ('k') | remoting/protocol/host_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698