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_MEDIA_STREAM_VIDEO_SOURCE_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_SOURCE_H_ |
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_SOURCE_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_SOURCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "content/common/media/video_capture.h" | 16 #include "content/common/media/video_capture.h" |
17 #include "content/public/renderer/media_stream_video_sink.h" | 17 #include "content/public/renderer/media_stream_video_sink.h" |
18 #include "content/renderer/media/media_stream_source.h" | 18 #include "content/renderer/media/media_stream_source.h" |
| 19 #include "media/base/video_capture_types.h" |
19 #include "media/base/video_frame.h" | 20 #include "media/base/video_frame.h" |
20 #include "media/video/capture/video_capture_types.h" | |
21 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" | 21 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" |
22 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 22 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
23 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 23 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 | 26 |
27 class MediaStreamVideoTrack; | 27 class MediaStreamVideoTrack; |
28 class VideoTrackAdapter; | 28 class VideoTrackAdapter; |
29 | 29 |
30 // MediaStreamVideoSource is an interface used for sending video frames to a | 30 // MediaStreamVideoSource is an interface used for sending video frames to a |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 174 |
175 // NOTE: Weak pointers must be invalidated before all other member variables. | 175 // NOTE: Weak pointers must be invalidated before all other member variables. |
176 base::WeakPtrFactory<MediaStreamVideoSource> weak_factory_; | 176 base::WeakPtrFactory<MediaStreamVideoSource> weak_factory_; |
177 | 177 |
178 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoSource); | 178 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoSource); |
179 }; | 179 }; |
180 | 180 |
181 } // namespace content | 181 } // namespace content |
182 | 182 |
183 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_SOURCE_H_ | 183 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_VIDEO_SOURCE_H_ |
OLD | NEW |