OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MEDIA_STREAM_VIDEO_TRACK_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_TRACK_H_ |
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_TRACK_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_TRACK_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_vector.h" | |
13 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 #include "content/public/renderer/media_stream_video_sink.h" | 14 #include "content/public/renderer/media_stream_video_sink.h" |
16 #include "content/renderer/media/media_stream_track.h" | 15 #include "content/renderer/media/media_stream_track.h" |
17 #include "content/renderer/media/media_stream_video_source.h" | 16 #include "content/renderer/media/media_stream_video_source.h" |
18 | 17 |
19 namespace content { | 18 namespace content { |
20 | 19 |
21 // MediaStreamVideoTrack is a video specific representation of a | 20 // MediaStreamVideoTrack is a video specific representation of a |
22 // blink::WebMediaStreamTrack in content. It is owned by the blink object | 21 // blink::WebMediaStreamTrack in content. It is owned by the blink object |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // by the blink::WebMediaStreamSource and is guaranteed to outlive the | 87 // by the blink::WebMediaStreamSource and is guaranteed to outlive the |
89 // track. | 88 // track. |
90 MediaStreamVideoSource* source_; | 89 MediaStreamVideoSource* source_; |
91 | 90 |
92 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoTrack); | 91 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoTrack); |
93 }; | 92 }; |
94 | 93 |
95 } // namespace content | 94 } // namespace content |
96 | 95 |
97 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_TRACK_H_ | 96 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_TRACK_H_ |
OLD | NEW |