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