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

Unified Diff: remoting/protocol/client_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/chromium_socket_factory.cc ('k') | remoting/protocol/client_event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_control_dispatcher.h
diff --git a/remoting/protocol/client_control_dispatcher.h b/remoting/protocol/client_control_dispatcher.h
index 8e94fc3f13f10d6cbbe8d4e771dae7bd687b7fb0..e4612c006999223a8c8c02ab240086bc8438430b 100644
--- a/remoting/protocol/client_control_dispatcher.h
+++ b/remoting/protocol/client_control_dispatcher.h
@@ -28,19 +28,18 @@ class ClientControlDispatcher : public ChannelDispatcherBase,
public HostStub {
public:
ClientControlDispatcher();
- virtual ~ClientControlDispatcher();
+ ~ClientControlDispatcher() override;
// ClipboardStub implementation.
- virtual void InjectClipboardEvent(const ClipboardEvent& event) override;
+ void InjectClipboardEvent(const ClipboardEvent& event) override;
// HostStub implementation.
- virtual void NotifyClientResolution(
- const ClientResolution& resolution) override;
- virtual void ControlVideo(const VideoControl& video_control) override;
- virtual void ControlAudio(const AudioControl& audio_control) override;
- virtual void SetCapabilities(const Capabilities& capabilities) override;
- virtual void RequestPairing(const PairingRequest& pairing_request) override;
- virtual void DeliverClientMessage(const ExtensionMessage& message) override;
+ void NotifyClientResolution(const ClientResolution& resolution) override;
+ void ControlVideo(const VideoControl& video_control) override;
+ void ControlAudio(const AudioControl& audio_control) override;
+ void SetCapabilities(const Capabilities& capabilities) override;
+ void RequestPairing(const PairingRequest& pairing_request) override;
+ void DeliverClientMessage(const ExtensionMessage& message) override;
// Sets the ClientStub that will be called for each incoming control
// message. |client_stub| must outlive this object.
@@ -54,7 +53,7 @@ class ClientControlDispatcher : 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/chromium_socket_factory.cc ('k') | remoting/protocol/client_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698