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 df46a5dcd3aa6602924f4396af7c52dfb5c5e1f4..d4e94b1cfb48364e84b9e7cd711c65d01495de3d 100644 |
--- a/content/browser/renderer_host/media/video_capture_host.h |
+++ b/content/browser/renderer_host/media/video_capture_host.h |
@@ -12,7 +12,7 @@ |
// |
// Renderer VideoCaptureHost |
// | | |
-// | VideoCaptureHostMsg_Start > | |
+// | --------- StartCapture --------> | |
// | < VideoCaptureMsg_StateChanged | |
// | (VIDEO_CAPTURE_STATE_STARTED) | |
// | < VideoCaptureMsg_NewBuffer(1) | |
@@ -110,12 +110,6 @@ class CONTENT_EXPORT VideoCaptureHost |
~VideoCaptureHost() override; |
// IPC message handlers. |
- void OnStartCapture(int device_id, |
- media::VideoCaptureSessionId session_id, |
- const media::VideoCaptureParams& params); |
- void OnResumeCapture(int device_id, |
- media::VideoCaptureSessionId session_id, |
- const media::VideoCaptureParams& params); |
void OnRendererFinishedWithBuffer(int device_id, |
int buffer_id, |
const gpu::SyncToken& sync_token, |
@@ -127,8 +121,14 @@ class CONTENT_EXPORT VideoCaptureHost |
media::VideoCaptureSessionId capture_session_id); |
// mojom::VideoCaptureHost implementation |
+ void Start(int32_t device_id, |
+ int32_t session_id, |
+ const media::VideoCaptureParams& params) override; |
void Stop(int32_t device_id) override; |
void Pause(int32_t device_id) override; |
+ void Resume(int32_t device_id, |
+ int32_t session_id, |
+ const media::VideoCaptureParams& params) override; |
void RequestRefreshFrame(int32_t device_id) override; |
void OnControllerAdded( |