| Index: content/browser/renderer_host/media/media_stream_manager.h
|
| diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
|
| index 6b4c3c45f41302f5561ccf9e814a408544d15371..d152fe19093acf080c91c797e63a31cbc7450a16 100644
|
| --- a/content/browser/renderer_host/media/media_stream_manager.h
|
| +++ b/content/browser/renderer_host/media/media_stream_manager.h
|
| @@ -45,6 +45,7 @@
|
| #include "content/common/media/media_devices.h"
|
| #include "content/common/media/media_stream_options.h"
|
| #include "content/public/browser/media_request_state.h"
|
| +#include "media/base/video_facing.h"
|
|
|
| namespace media {
|
| class AudioManager;
|
| @@ -97,6 +98,16 @@ class CONTENT_EXPORT MediaStreamManager
|
| // Used to access MediaDevicesManager.
|
| MediaDevicesManager* media_devices_manager();
|
|
|
| + // AddVideoCaptureObserver() and RemoveAllVideoCaptureObservers() must be
|
| + // called after InitializeDeviceManagersOnIOThread() and before
|
| + // WillDestroyCurrentMessageLoop(). They can be called more than once and it's
|
| + // ok to not call at all if the client is not interested in receiving
|
| + // media::VideoCaptureObserver callbacks.
|
| + // The methods must be called on BrowserThread::IO threads. The callbacks of
|
| + // media::VideoCaptureObserver also arrive on BrowserThread::IO threads.
|
| + void AddVideoCaptureObserver(media::VideoCaptureObserver* capture_observer);
|
| + void RemoveAllVideoCaptureObservers();
|
| +
|
| // Creates a new media access request which is identified by a unique string
|
| // that's returned to the caller. This will trigger the infobar and ask users
|
| // for access to the device. |render_process_id| and |render_frame_id| are
|
|
|