OLD | NEW |
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_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ |
7 | 7 |
| 8 #include "base/threading/thread_checker.h" |
8 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
9 #include "content/renderer/media/media_stream_video_source.h" | 10 #include "content/renderer/media/media_stream_video_source.h" |
10 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 11 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
11 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h" | 12 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 | 15 |
15 // MediaStreamRemoteVideoSource implements the MediaStreamVideoSource interface | 16 // MediaStreamRemoteVideoSource implements the MediaStreamVideoSource interface |
16 // for video tracks received on a PeerConnection. The purpose of the class is | 17 // for video tracks received on a PeerConnection. The purpose of the class is |
17 // to make sure there is no difference between a video track where the source is | 18 // to make sure there is no difference between a video track where the source is |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 56 |
56 // Bound to the render thread. | 57 // Bound to the render thread. |
57 base::ThreadChecker thread_checker_; | 58 base::ThreadChecker thread_checker_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(MediaStreamRemoteVideoSource); | 60 DISALLOW_COPY_AND_ASSIGN(MediaStreamRemoteVideoSource); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace content | 63 } // namespace content |
63 | 64 |
64 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ | 65 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ |
OLD | NEW |