OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/process/process.h" | 15 #include "base/process/process.h" |
16 #include "content/browser/renderer_host/media/buildable_video_capture_device.h" | |
17 #include "content/browser/renderer_host/media/video_capture_controller_event_han
dler.h" | 16 #include "content/browser/renderer_host/media/video_capture_controller_event_han
dler.h" |
| 17 #include "content/browser/renderer_host/media/video_capture_provider.h" |
18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
19 #include "content/common/media/video_capture.h" | 19 #include "content/common/media/video_capture.h" |
20 #include "content/public/common/media_stream_request.h" | 20 #include "content/public/common/media_stream_request.h" |
21 #include "media/capture/video/video_frame_receiver.h" | 21 #include "media/capture/video/video_frame_receiver.h" |
22 #include "media/capture/video_capture_types.h" | 22 #include "media/capture/video_capture_types.h" |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 | 25 |
26 // Implementation of media::VideoFrameReceiver that distributes received frames | 26 // Implementation of media::VideoFrameReceiver that distributes received frames |
27 // to potentially multiple connected clients. | 27 // to potentially multiple connected clients. |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 media::VideoCaptureFormat video_capture_format_; | 244 media::VideoCaptureFormat video_capture_format_; |
245 | 245 |
246 base::WeakPtrFactory<VideoCaptureController> weak_ptr_factory_; | 246 base::WeakPtrFactory<VideoCaptureController> weak_ptr_factory_; |
247 | 247 |
248 DISALLOW_COPY_AND_ASSIGN(VideoCaptureController); | 248 DISALLOW_COPY_AND_ASSIGN(VideoCaptureController); |
249 }; | 249 }; |
250 | 250 |
251 } // namespace content | 251 } // namespace content |
252 | 252 |
253 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_H_ | 253 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_H_ |
OLD | NEW |