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

Side by Side Diff: remoting/protocol/webrtc_connection_to_host.cc

Issue 1559933003: Pass VideoRenderer interface to ConnectionToHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_frame_consumer
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/webrtc_connection_to_host.h ('k') | remoting/remoting_test.gypi » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "remoting/protocol/webrtc_connection_to_host.h" 5 #include "remoting/protocol/webrtc_connection_to_host.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "jingle/glue/thread_wrapper.h" 9 #include "jingle/glue/thread_wrapper.h"
10 #include "remoting/protocol/client_control_dispatcher.h" 10 #include "remoting/protocol/client_control_dispatcher.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 56 }
57 57
58 void WebrtcConnectionToHost::set_client_stub(ClientStub* client_stub) { 58 void WebrtcConnectionToHost::set_client_stub(ClientStub* client_stub) {
59 client_stub_ = client_stub; 59 client_stub_ = client_stub;
60 } 60 }
61 61
62 void WebrtcConnectionToHost::set_clipboard_stub(ClipboardStub* clipboard_stub) { 62 void WebrtcConnectionToHost::set_clipboard_stub(ClipboardStub* clipboard_stub) {
63 clipboard_stub_ = clipboard_stub; 63 clipboard_stub_ = clipboard_stub;
64 } 64 }
65 65
66 void WebrtcConnectionToHost::set_video_stub(VideoStub* video_stub) { 66 void WebrtcConnectionToHost::set_video_renderer(VideoRenderer* video_renderer) {
67 NOTIMPLEMENTED(); 67 NOTIMPLEMENTED();
68 } 68 }
69 69
70 void WebrtcConnectionToHost::set_audio_stub(AudioStub* audio_stub) { 70 void WebrtcConnectionToHost::set_audio_stub(AudioStub* audio_stub) {
71 NOTIMPLEMENTED(); 71 NOTIMPLEMENTED();
72 } 72 }
73 73
74 void WebrtcConnectionToHost::OnSessionStateChange(Session::State state) { 74 void WebrtcConnectionToHost::OnSessionStateChange(Session::State state) {
75 DCHECK(event_callback_); 75 DCHECK(event_callback_);
76 76
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 if (state != state_) { 153 if (state != state_) {
154 state_ = state; 154 state_ = state;
155 error_ = error; 155 error_ = error;
156 event_callback_->OnConnectionState(state_, error_); 156 event_callback_->OnConnectionState(state_, error_);
157 } 157 }
158 } 158 }
159 159
160 } // namespace protocol 160 } // namespace protocol
161 } // namespace remoting 161 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/webrtc_connection_to_host.h ('k') | remoting/remoting_test.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698