Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 615043006: Release the camera when WebRTC is not visible in Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/video_capture_host.h
diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h
index 15a618a2f15c6b749e3192ff9928c1ce572726a1..68edae1f85372af71c1eda46c587a2b21079e336 100644
--- a/content/browser/renderer_host/media/video_capture_host.h
+++ b/content/browser/renderer_host/media/video_capture_host.h
@@ -123,6 +123,10 @@ class CONTENT_EXPORT VideoCaptureHost
// IPC message: Pause capture on device referenced by |device_id|.
void OnPauseCapture(int device_id);
+ void OnResumeCapture(int device_id,
+ media::VideoCaptureSessionId session_id,
+ const media::VideoCaptureParams& params);
+
// IPC message: Receive an empty buffer from renderer. Send it to device
// referenced by |device_id|.
void OnReceiveEmptyBuffer(int device_id, int buffer_id, uint32 sync_point);

Powered by Google App Engine
This is Rietveld 408576698