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

Unified Diff: webrtc/examples/peerconnection/client/conductor.h

Issue 2660223002: Add override declarations to PeerConnectionObserver subclasses, and delete obsolete methods. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | webrtc/pc/peerconnectionfactory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/peerconnection/client/conductor.h
diff --git a/webrtc/examples/peerconnection/client/conductor.h b/webrtc/examples/peerconnection/client/conductor.h
index 74e5f6c5a2e56b8f35c30ede06c0e9504bdb05f1..ba3e271e5132d2b8bdc9b9c680174d5ab8da02d8 100644
--- a/webrtc/examples/peerconnection/client/conductor.h
+++ b/webrtc/examples/peerconnection/client/conductor.h
@@ -84,37 +84,37 @@ class Conductor
// PeerConnectionClientObserver implementation.
//
- virtual void OnSignedIn();
+ void OnSignedIn() override;
- virtual void OnDisconnected();
+ void OnDisconnected() override;
- virtual void OnPeerConnected(int id, const std::string& name);
+ void OnPeerConnected(int id, const std::string& name) override;
- virtual void OnPeerDisconnected(int id);
+ void OnPeerDisconnected(int id) override;
- virtual void OnMessageFromPeer(int peer_id, const std::string& message);
+ void OnMessageFromPeer(int peer_id, const std::string& message) override;
- virtual void OnMessageSent(int err);
+ void OnMessageSent(int err) override;
- virtual void OnServerConnectionFailure();
+ void OnServerConnectionFailure() override;
//
// MainWndCallback implementation.
//
- virtual void StartLogin(const std::string& server, int port);
+ void StartLogin(const std::string& server, int port) override;
- virtual void DisconnectFromServer();
+ void DisconnectFromServer() override;
- virtual void ConnectToPeer(int peer_id);
+ void ConnectToPeer(int peer_id) override;
- virtual void DisconnectFromCurrentPeer();
+ void DisconnectFromCurrentPeer() override;
- virtual void UIThreadCallback(int msg_id, void* data);
+ void UIThreadCallback(int msg_id, void* data) override;
// CreateSessionDescriptionObserver implementation.
- virtual void OnSuccess(webrtc::SessionDescriptionInterface* desc);
- virtual void OnFailure(const std::string& error);
+ void OnSuccess(webrtc::SessionDescriptionInterface* desc) override;
+ void OnFailure(const std::string& error) override;
protected:
// Send a message to the remote peer.
« no previous file with comments | « no previous file | webrtc/pc/peerconnectionfactory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698