| 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 7f69d56a904ae4c1a7f3d230923d7d4444ce9c0e..767f3874d323127eeb13cceb5f7f2ead9da24ec8 100644
|
| --- a/content/browser/renderer_host/media/video_capture_manager.h
|
| +++ b/content/browser/renderer_host/media/video_capture_manager.h
|
| @@ -84,6 +84,25 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider {
|
| VideoCaptureControllerEventHandler* client_handler,
|
| bool aborted_due_to_error);
|
|
|
| + // Called by VideoCaptureHost to pause to update video buffer specifyed by
|
| + // |client_id| and |client_handler|. If all clients of |controller| are
|
| + // paused, the corresponding device will be closed.
|
| + void PauseCaptureForClient(
|
| + VideoCaptureController* controller,
|
| + VideoCaptureControllerID client_id,
|
| + VideoCaptureControllerEventHandler* client_handler);
|
| +
|
| + // Called by VideoCaptureHost to resume to update video buffer specifyed by
|
| + // |client_id| and |client_handler|. If this is first active client of
|
| + // |controller|, device will be allocated. The |session_id| and |params|
|
| + // should be same as those used in StartCaptureForClient().
|
| + void ResumeCaptureForClient(
|
| + media::VideoCaptureSessionId session_id,
|
| + const media::VideoCaptureParams& params,
|
| + VideoCaptureController* controller,
|
| + VideoCaptureControllerID client_id,
|
| + VideoCaptureControllerEventHandler* client_handler);
|
| +
|
| // Retrieves all capture supported formats for a particular device. Returns
|
| // false if the |capture_session_id| is not found. The supported formats are
|
| // cached during device(s) enumeration, and depending on the underlying
|
|
|