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

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

Issue 1810273003: Remove Chrome dependency to empty videosourceinterface.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_client.cc ('k') | no next file » | 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_video_stream.h" 5 #include "remoting/protocol/webrtc_video_stream.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/protocol/webrtc_video_capturer_adapter.h" 8 #include "remoting/protocol/webrtc_video_capturer_adapter.h"
9 #include "third_party/webrtc/api/mediastreaminterface.h" 9 #include "third_party/webrtc/api/mediastreaminterface.h"
10 #include "third_party/webrtc/api/peerconnectioninterface.h" 10 #include "third_party/webrtc/api/peerconnectioninterface.h"
11 #include "third_party/webrtc/api/test/fakeconstraints.h" 11 #include "third_party/webrtc/api/test/fakeconstraints.h"
12 #include "third_party/webrtc/api/videosourceinterface.h"
13 12
14 namespace remoting { 13 namespace remoting {
15 namespace protocol { 14 namespace protocol {
16 15
17 const char kStreamLabel[] = "screen_stream"; 16 const char kStreamLabel[] = "screen_stream";
18 const char kVideoLabel[] = "screen_video"; 17 const char kVideoLabel[] = "screen_video";
19 18
20 WebrtcVideoStream::WebrtcVideoStream() {} 19 WebrtcVideoStream::WebrtcVideoStream() {}
21 20
22 WebrtcVideoStream::~WebrtcVideoStream() { 21 WebrtcVideoStream::~WebrtcVideoStream() {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 NOTIMPLEMENTED(); 83 NOTIMPLEMENTED();
85 } 84 }
86 85
87 void WebrtcVideoStream::SetSizeCallback(const SizeCallback& size_callback) { 86 void WebrtcVideoStream::SetSizeCallback(const SizeCallback& size_callback) {
88 if (capturer_adapter_) 87 if (capturer_adapter_)
89 capturer_adapter_->SetSizeCallback(size_callback); 88 capturer_adapter_->SetSizeCallback(size_callback);
90 } 89 }
91 90
92 } // namespace protocol 91 } // namespace protocol
93 } // namespace remoting 92 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/webrtc_connection_to_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698