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

Side by Side Diff: content/renderer/media/webrtc/media_stream_video_webrtc_sink.h

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 | « no previous file | content/renderer/media/webrtc/peer_connection_dependency_factory.h » ('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 CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_TRACK_ADAPTER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_TRACK_ADAPTER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_TRACK_ADAPTER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_TRACK_ADAPTER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
10 #include "content/public/renderer/media_stream_video_sink.h" 10 #include "content/public/renderer/media_stream_video_sink.h"
11 #include "content/renderer/media/webrtc/webrtc_video_capturer_adapter.h" 11 #include "content/renderer/media/webrtc/webrtc_video_capturer_adapter.h"
12 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" 12 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
13 #include "third_party/webrtc/api/mediastreaminterface.h" 13 #include "third_party/webrtc/api/mediastreaminterface.h"
14 #include "third_party/webrtc/api/videosourceinterface.h"
15 14
16 namespace content { 15 namespace content {
17 16
18 class MediaStreamVideoTrack; 17 class MediaStreamVideoTrack;
19 class PeerConnectionDependencyFactory; 18 class PeerConnectionDependencyFactory;
20 19
21 // MediaStreamVideoWebRtcSink is an adapter between a 20 // MediaStreamVideoWebRtcSink is an adapter between a
22 // content::MediaStreamVideoTrack object and a webrtc VideoTrack that is 21 // content::MediaStreamVideoTrack object and a webrtc VideoTrack that is
23 // currently sent on a PeerConnection. 22 // currently sent on a PeerConnection.
24 // The responsibility of the class is to create and own a representation of a 23 // The responsibility of the class is to create and own a representation of a
(...skipping 25 matching lines...) Expand all
50 49
51 class WebRtcVideoSourceAdapter; 50 class WebRtcVideoSourceAdapter;
52 scoped_refptr<WebRtcVideoSourceAdapter> source_adapter_; 51 scoped_refptr<WebRtcVideoSourceAdapter> source_adapter_;
53 52
54 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoWebRtcSink); 53 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoWebRtcSink);
55 }; 54 };
56 55
57 } // namespace content 56 } // namespace content
58 57
59 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_TRACK_ADAPTER_H_ 58 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_TRACK_ADAPTER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/webrtc/peer_connection_dependency_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698