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

Side by Side Diff: remoting/host/cast_extension_session.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_CAST_EXTENSION_SESSION_H_ 5 #ifndef REMOTING_HOST_CAST_EXTENSION_SESSION_H_
6 #define REMOTING_HOST_CAST_EXTENSION_SESSION_H_ 6 #define REMOTING_HOST_CAST_EXTENSION_SESSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const protocol::NetworkSettings& network_settings, 55 const protocol::NetworkSettings& network_settings,
56 ClientSessionControl* client_session_control, 56 ClientSessionControl* client_session_control,
57 protocol::ClientStub* client_stub); 57 protocol::ClientStub* client_stub);
58 58
59 // Called by webrtc::CreateSessionDescriptionObserver implementation. 59 // Called by webrtc::CreateSessionDescriptionObserver implementation.
60 void OnCreateSessionDescription(webrtc::SessionDescriptionInterface* desc); 60 void OnCreateSessionDescription(webrtc::SessionDescriptionInterface* desc);
61 void OnCreateSessionDescriptionFailure(const std::string& error); 61 void OnCreateSessionDescriptionFailure(const std::string& error);
62 62
63 // HostExtensionSession interface. 63 // HostExtensionSession interface.
64 virtual void OnCreateVideoCapturer( 64 virtual void OnCreateVideoCapturer(
65 scoped_ptr<webrtc::DesktopCapturer>* capturer) OVERRIDE; 65 scoped_ptr<webrtc::DesktopCapturer>* capturer) override;
66 virtual bool ModifiesVideoPipeline() const OVERRIDE; 66 virtual bool ModifiesVideoPipeline() const override;
67 virtual bool OnExtensionMessage( 67 virtual bool OnExtensionMessage(
68 ClientSessionControl* client_session_control, 68 ClientSessionControl* client_session_control,
69 protocol::ClientStub* client_stub, 69 protocol::ClientStub* client_stub,
70 const protocol::ExtensionMessage& message) OVERRIDE; 70 const protocol::ExtensionMessage& message) override;
71 71
72 // webrtc::PeerConnectionObserver interface. 72 // webrtc::PeerConnectionObserver interface.
73 virtual void OnError() OVERRIDE; 73 virtual void OnError() override;
74 virtual void OnSignalingChange( 74 virtual void OnSignalingChange(
75 webrtc::PeerConnectionInterface::SignalingState new_state) OVERRIDE; 75 webrtc::PeerConnectionInterface::SignalingState new_state) override;
76 virtual void OnStateChange( 76 virtual void OnStateChange(
77 webrtc::PeerConnectionObserver::StateType state_changed) OVERRIDE; 77 webrtc::PeerConnectionObserver::StateType state_changed) override;
78 virtual void OnAddStream(webrtc::MediaStreamInterface* stream) OVERRIDE; 78 virtual void OnAddStream(webrtc::MediaStreamInterface* stream) override;
79 virtual void OnRemoveStream(webrtc::MediaStreamInterface* stream) OVERRIDE; 79 virtual void OnRemoveStream(webrtc::MediaStreamInterface* stream) override;
80 virtual void OnDataChannel( 80 virtual void OnDataChannel(
81 webrtc::DataChannelInterface* data_channel) OVERRIDE; 81 webrtc::DataChannelInterface* data_channel) override;
82 virtual void OnRenegotiationNeeded() OVERRIDE; 82 virtual void OnRenegotiationNeeded() override;
83 virtual void OnIceConnectionChange( 83 virtual void OnIceConnectionChange(
84 webrtc::PeerConnectionInterface::IceConnectionState new_state) OVERRIDE; 84 webrtc::PeerConnectionInterface::IceConnectionState new_state) override;
85 virtual void OnIceGatheringChange( 85 virtual void OnIceGatheringChange(
86 webrtc::PeerConnectionInterface::IceGatheringState new_state) OVERRIDE; 86 webrtc::PeerConnectionInterface::IceGatheringState new_state) override;
87 virtual void OnIceCandidate( 87 virtual void OnIceCandidate(
88 const webrtc::IceCandidateInterface* candidate) OVERRIDE; 88 const webrtc::IceCandidateInterface* candidate) override;
89 virtual void OnIceComplete() OVERRIDE; 89 virtual void OnIceComplete() override;
90 90
91 private: 91 private:
92 CastExtensionSession( 92 CastExtensionSession(
93 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 93 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
94 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter, 94 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter,
95 const protocol::NetworkSettings& network_settings, 95 const protocol::NetworkSettings& network_settings,
96 ClientSessionControl* client_session_control, 96 ClientSessionControl* client_session_control,
97 protocol::ClientStub* client_stub); 97 protocol::ClientStub* client_stub);
98 98
99 // Parses |message| for a Session Description and sets the remote 99 // Parses |message| for a Session Description and sets the remote
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 // Worker thread that is wrapped to create |worker_thread_wrapper_|. 237 // Worker thread that is wrapped to create |worker_thread_wrapper_|.
238 base::Thread worker_thread_; 238 base::Thread worker_thread_;
239 239
240 DISALLOW_COPY_AND_ASSIGN(CastExtensionSession); 240 DISALLOW_COPY_AND_ASSIGN(CastExtensionSession);
241 }; 241 };
242 242
243 } // namespace remoting 243 } // namespace remoting
244 244
245 #endif // REMOTING_HOST_CAST_EXTENSION_SESSION_H_ 245 #endif // REMOTING_HOST_CAST_EXTENSION_SESSION_H_
OLDNEW
« 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