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

Unified Diff: remoting/client/chromoting_client.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/client/audio_player_unittest.cc ('k') | remoting/client/frame_consumer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.h
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
index a0088f520319f1e4f0951dd0c73ef77f01430734..96950847bd68326853164ae8ee05616b659a659e 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -47,7 +47,7 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
VideoRenderer* video_renderer,
scoped_ptr<AudioPlayer> audio_player);
- virtual ~ChromotingClient();
+ ~ChromotingClient() override;
void SetProtocolConfigForTests(
scoped_ptr<protocol::CandidateSessionConfig> config);
@@ -71,28 +71,23 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
protocol::InputStub* input_stub() { return connection_.input_stub(); }
// ClientStub implementation.
- virtual void SetCapabilities(
- const protocol::Capabilities& capabilities) override;
- virtual void SetPairingResponse(
+ void SetCapabilities(const protocol::Capabilities& capabilities) override;
+ void SetPairingResponse(
const protocol::PairingResponse& pairing_response) override;
- virtual void DeliverHostMessage(
- const protocol::ExtensionMessage& message) override;
+ void DeliverHostMessage(const protocol::ExtensionMessage& message) override;
// ClipboardStub implementation for receiving clipboard data from host.
- virtual void InjectClipboardEvent(
- const protocol::ClipboardEvent& event) override;
+ void InjectClipboardEvent(const protocol::ClipboardEvent& event) override;
// CursorShapeStub implementation for receiving cursor shape updates.
- virtual void SetCursorShape(
- const protocol::CursorShapeInfo& cursor_shape) override;
+ void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override;
// ConnectionToHost::HostEventCallback implementation.
- virtual void OnConnectionState(
- protocol::ConnectionToHost::State state,
- protocol::ErrorCode error) override;
- virtual void OnConnectionReady(bool ready) override;
- virtual void OnRouteChanged(const std::string& channel_name,
- const protocol::TransportRoute& route) override;
+ void OnConnectionState(protocol::ConnectionToHost::State state,
+ protocol::ErrorCode error) override;
+ void OnConnectionReady(bool ready) override;
+ void OnRouteChanged(const std::string& channel_name,
+ const protocol::TransportRoute& route) override;
private:
// Called when the connection is authenticated.
« no previous file with comments | « remoting/client/audio_player_unittest.cc ('k') | remoting/client/frame_consumer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698