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

Unified Diff: remoting/protocol/connection_to_host.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/connection_to_client.h ('k') | remoting/protocol/content_description.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_host.h
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
index fb7a34d038edc0a39b7f638f72f85cf57f5c1eec..b1c32710c5d22897f6b73f58b52ec81a1d064bd9 100644
--- a/remoting/protocol/connection_to_host.h
+++ b/remoting/protocol/connection_to_host.h
@@ -82,7 +82,7 @@ class ConnectionToHost : public SignalStrategy::Listener,
};
ConnectionToHost();
- virtual ~ConnectionToHost();
+ ~ConnectionToHost() override;
// Allows to set a custom protocol configuration (e.g. for tests). Cannot be
// called after Connect().
@@ -120,21 +120,19 @@ class ConnectionToHost : public SignalStrategy::Listener,
virtual InputStub* input_stub();
// SignalStrategy::StatusObserver interface.
- virtual void OnSignalStrategyStateChange(
- SignalStrategy::State state) override;
- virtual bool OnSignalStrategyIncomingStanza(
- const buzz::XmlElement* stanza) override;
+ void OnSignalStrategyStateChange(SignalStrategy::State state) override;
+ bool OnSignalStrategyIncomingStanza(const buzz::XmlElement* stanza) override;
// SessionManager::Listener interface.
- virtual void OnSessionManagerReady() override;
- virtual void OnIncomingSession(
+ void OnSessionManagerReady() override;
+ void OnIncomingSession(
Session* session,
SessionManager::IncomingSessionResponse* response) override;
// Session::EventHandler interface.
- virtual void OnSessionStateChange(Session::State state) override;
- virtual void OnSessionRouteChange(const std::string& channel_name,
- const TransportRoute& route) override;
+ void OnSessionStateChange(Session::State state) override;
+ void OnSessionRouteChange(const std::string& channel_name,
+ const TransportRoute& route) override;
// MonitoredVideoStub::EventHandler interface.
virtual void OnVideoChannelStatus(bool active);
« no previous file with comments | « remoting/protocol/connection_to_client.h ('k') | remoting/protocol/content_description.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698