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

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

Issue 468613002: Readability review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter, 54 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter,
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 scoped_ptr<webrtc::DesktopCapturer> 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;
(...skipping 160 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_
246
OLDNEW
« no previous file with comments | « no previous file | remoting/host/cast_extension_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698