Chromium Code Reviews| Index: content/browser/renderer_host/media/video_capture_manager.h |
| diff --git a/content/browser/renderer_host/media/video_capture_manager.h b/content/browser/renderer_host/media/video_capture_manager.h |
| index 3bad7b152eec3d3684cbef086c07acd447fccfa2..3caeedf5b71312c5031c5928eada1a7cda1dd24f 100644 |
| --- a/content/browser/renderer_host/media/video_capture_manager.h |
| +++ b/content/browser/renderer_host/media/video_capture_manager.h |
| @@ -29,6 +29,7 @@ |
| #include "content/browser/renderer_host/media/video_capture_controller_event_handler.h" |
| #include "content/common/content_export.h" |
| #include "content/common/media/media_stream_options.h" |
| +#include "media/base/video_facing.h" |
| #include "media/capture/video/video_capture_device.h" |
| #include "media/capture/video/video_capture_device_factory.h" |
| #include "media/capture/video_capture_types.h" |
| @@ -53,6 +54,8 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider { |
| explicit VideoCaptureManager( |
| std::unique_ptr<media::VideoCaptureDeviceFactory> factory); |
| + void SetVideoCaptureObserver(media::VideoCaptureObserver* observer); |
|
chfremer1
2017/01/25 18:13:44
Same considerations here as with the SetVideoCaptu
shenghao
2017/01/29 10:21:01
Done.
|
| + |
| void Unregister(); |
| // Implements MediaStreamProvider. |
| @@ -323,6 +326,8 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider { |
| std::unique_ptr<media::VideoCaptureDeviceFactory> |
| video_capture_device_factory_; |
| + media::VideoCaptureObserver* capture_observer_; |
| + |
| // Local cache of the enumerated video capture devices' names and capture |
| // supported formats. A snapshot of the current devices and their capabilities |
| // is composed in VideoCaptureDeviceFactory::EnumerateDeviceNames() and |