Index: content/renderer/media/video_capture_impl_manager.h |
diff --git a/content/renderer/media/video_capture_impl_manager.h b/content/renderer/media/video_capture_impl_manager.h |
index 4d2e8fcf6144187f5cb8e9ee632cde4987afee6b..18f63765cc26a16a51f18030b5d51495c3f56253 100644 |
--- a/content/renderer/media/video_capture_impl_manager.h |
+++ b/content/renderer/media/video_capture_impl_manager.h |
@@ -16,6 +16,7 @@ |
#include "base/synchronization/lock.h" |
#include "base/threading/thread_checker.h" |
#include "content/common/content_export.h" |
+#include "content/common/media/media_stream_options.h" |
#include "content/common/media/video_capture.h" |
#include "content/public/renderer/media_stream_video_sink.h" |
#include "media/capture/video_capture_types.h" |
@@ -90,11 +91,14 @@ class CONTENT_EXPORT VideoCaptureImplManager { |
void GetDeviceFormatsInUse(media::VideoCaptureSessionId id, |
const VideoCaptureDeviceFormatsCB& callback); |
- // Make all existing VideoCaptureImpl instances stop/resume delivering |
- // video frames to their clients, depends on flag |suspend|. This is called in |
- // response to a RenderView-wide PageHidden/Shown() event. To suspend/resume |
- // an individual session, please call Suspend(id) or Resume(id). |
- void SuspendDevices(bool suspend); |
+ // Make all VideoCaptureImpl instances in the input |video_device_array| |
+ // stop/resume delivering video frames to their clients, depends on flag |
+ // |suspend|. This is called in response to a RenderView-wide |
+ // PageHidden/Shown() event. |
+ // To suspend/resume an individual session, please call Suspend(id) or |
+ // Resume(id). |
+ void SuspendDevices(const StreamDeviceInfoArray& video_device_array, |
+ bool suspend); |
virtual std::unique_ptr<VideoCaptureImpl> CreateVideoCaptureImplForTesting( |
media::VideoCaptureSessionId session_id) const; |