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

Unified Diff: remoting/host/cast_extension_session.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/host/cast_extension.h ('k') | remoting/host/cast_extension_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/cast_extension_session.h
diff --git a/remoting/host/cast_extension_session.h b/remoting/host/cast_extension_session.h
index fe27280b284206a33a3e533a77f79d9fbab0983b..ea20ee6f47c268ee2eba63838de6bc974c414b26 100644
--- a/remoting/host/cast_extension_session.h
+++ b/remoting/host/cast_extension_session.h
@@ -44,7 +44,7 @@ struct NetworkSettings;
class CastExtensionSession : public HostExtensionSession,
public webrtc::PeerConnectionObserver {
public:
- virtual ~CastExtensionSession();
+ ~CastExtensionSession() override;
// Creates and returns a CastExtensionSession object, after performing
// initialization steps on it. The caller must take ownership of the returned
@@ -61,32 +61,29 @@ class CastExtensionSession : public HostExtensionSession,
void OnCreateSessionDescriptionFailure(const std::string& error);
// HostExtensionSession interface.
- virtual void OnCreateVideoCapturer(
+ void OnCreateVideoCapturer(
scoped_ptr<webrtc::DesktopCapturer>* capturer) override;
- virtual bool ModifiesVideoPipeline() const override;
- virtual bool OnExtensionMessage(
- ClientSessionControl* client_session_control,
- protocol::ClientStub* client_stub,
- const protocol::ExtensionMessage& message) override;
+ bool ModifiesVideoPipeline() const override;
+ bool OnExtensionMessage(ClientSessionControl* client_session_control,
+ protocol::ClientStub* client_stub,
+ const protocol::ExtensionMessage& message) override;
// webrtc::PeerConnectionObserver interface.
- virtual void OnError() override;
- virtual void OnSignalingChange(
+ void OnError() override;
+ void OnSignalingChange(
webrtc::PeerConnectionInterface::SignalingState new_state) override;
- virtual void OnStateChange(
+ void OnStateChange(
webrtc::PeerConnectionObserver::StateType state_changed) override;
- virtual void OnAddStream(webrtc::MediaStreamInterface* stream) override;
- virtual void OnRemoveStream(webrtc::MediaStreamInterface* stream) override;
- virtual void OnDataChannel(
- webrtc::DataChannelInterface* data_channel) override;
- virtual void OnRenegotiationNeeded() override;
- virtual void OnIceConnectionChange(
+ void OnAddStream(webrtc::MediaStreamInterface* stream) override;
+ void OnRemoveStream(webrtc::MediaStreamInterface* stream) override;
+ void OnDataChannel(webrtc::DataChannelInterface* data_channel) override;
+ void OnRenegotiationNeeded() override;
+ void OnIceConnectionChange(
webrtc::PeerConnectionInterface::IceConnectionState new_state) override;
- virtual void OnIceGatheringChange(
+ void OnIceGatheringChange(
webrtc::PeerConnectionInterface::IceGatheringState new_state) override;
- virtual void OnIceCandidate(
- const webrtc::IceCandidateInterface* candidate) override;
- virtual void OnIceComplete() override;
+ void OnIceCandidate(const webrtc::IceCandidateInterface* candidate) override;
+ void OnIceComplete() override;
private:
CastExtensionSession(
« no previous file with comments | « remoting/host/cast_extension.h ('k') | remoting/host/cast_extension_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698