| 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..b2d6c951cdca554ded8929f3d3ec058404e50db3 100644
|
| --- a/content/browser/renderer_host/media/video_capture_manager.h
|
| +++ b/content/browser/renderer_host/media/video_capture_manager.h
|
| @@ -25,6 +25,7 @@
|
| #include "base/threading/thread_checker.h"
|
| #include "base/timer/elapsed_timer.h"
|
| #include "build/build_config.h"
|
| +#include "component/arc/video_facing.h"
|
| #include "content/browser/renderer_host/media/media_stream_provider.h"
|
| #include "content/browser/renderer_host/media/video_capture_controller_event_handler.h"
|
| #include "content/common/content_export.h"
|
| @@ -51,7 +52,8 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider {
|
| base::Callback<void(const base::WeakPtr<VideoCaptureController>&)>;
|
|
|
| explicit VideoCaptureManager(
|
| - std::unique_ptr<media::VideoCaptureDeviceFactory> factory);
|
| + std::unique_ptr<media::VideoCaptureDeviceFactory> factory,
|
| + component::VideoCaptureObserver* observer);
|
|
|
| void Unregister();
|
|
|
| @@ -323,6 +325,8 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider {
|
| std::unique_ptr<media::VideoCaptureDeviceFactory>
|
| video_capture_device_factory_;
|
|
|
| + component::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
|
|
|