| 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..98c9fd355afec0a3b606d8250c21b1eed1a80f66 100644
|
| --- a/content/renderer/media/video_capture_impl_manager.h
|
| +++ b/content/renderer/media/video_capture_impl_manager.h
|
| @@ -90,12 +90,6 @@ 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);
|
| -
|
| virtual std::unique_ptr<VideoCaptureImpl> CreateVideoCaptureImplForTesting(
|
| media::VideoCaptureSessionId session_id) const;
|
|
|
| @@ -117,11 +111,6 @@ class CONTENT_EXPORT VideoCaptureImplManager {
|
| // right thread.
|
| const scoped_refptr<base::SingleThreadTaskRunner> render_main_task_runner_;
|
|
|
| - // Set to true if SuspendDevices(true) was called. This, along with
|
| - // DeviceEntry::is_individually_suspended, is used to determine whether to
|
| - // take action when suspending/resuming each device.
|
| - bool is_suspending_all_;
|
| -
|
| // Bound to the render thread.
|
| // NOTE: Weak pointers must be invalidated before all other member variables.
|
| base::WeakPtrFactory<VideoCaptureImplManager> weak_factory_;
|
|
|