Index: content/browser/renderer_host/media/video_capture_controller.h |
diff --git a/content/browser/renderer_host/media/video_capture_controller.h b/content/browser/renderer_host/media/video_capture_controller.h |
index 2de5ff6bbf795cc898029dfd1afca9108015f281..2cc119d45b4bf5c3c390766898910fc2814e9d20 100644 |
--- a/content/browser/renderer_host/media/video_capture_controller.h |
+++ b/content/browser/renderer_host/media/video_capture_controller.h |
@@ -96,8 +96,16 @@ class CONTENT_EXPORT VideoCaptureController { |
int RemoveClient(const VideoCaptureControllerID& id, |
VideoCaptureControllerEventHandler* event_handler); |
+ // Pause or resume the video capture for specified client. |
tommi (sloooow) - chröme
2014/10/01 07:17:03
Can you document the side effects of this?
(assumi
michaelbai
2014/10/01 22:09:33
Thanks, I added the side effect in VideoCaptureMan
|
+ void PauseOrResumeClient(const VideoCaptureControllerID& id, |
+ VideoCaptureControllerEventHandler* event_handler, |
+ bool pause); |
+ |
int GetClientCount(); |
+ // Return the number of client that isn't paused. |
+ int GetActiveClientCount(); |
tommi (sloooow) - chröme
2014/10/01 07:17:03
const?
michaelbai
2014/10/01 22:09:33
Done.
|
+ |
// API called directly by VideoCaptureManager in case the device is |
// prematurely closed. |
void StopSession(int session_id); |