Index: services/video_capture/test/mock_receiver.cc |
diff --git a/services/video_capture/test/mock_receiver.cc b/services/video_capture/test/mock_receiver.cc |
index 5665911f5549b0ce347370ad718246a8e9b36c1b..34d11199b2b4f42e469258145ac81f66f9a3b9e8 100644 |
--- a/services/video_capture/test/mock_receiver.cc |
+++ b/services/video_capture/test/mock_receiver.cc |
@@ -11,9 +11,19 @@ MockReceiver::MockReceiver(mojom::ReceiverRequest request) |
MockReceiver::~MockReceiver() = default; |
-void MockReceiver::OnIncomingCapturedVideoFrame( |
- media::mojom::VideoFramePtr frame) { |
- OnIncomingCapturedVideoFramePtr(&frame); |
+void MockReceiver::OnNewBufferHandle( |
+ int32_t buffer_id, |
+ mojo::ScopedSharedBufferHandle buffer_handle) { |
+ DoOnNewBufferHandle(buffer_id, &buffer_handle); |
+} |
+ |
+void MockReceiver::OnFrameReadyInBuffer( |
+ int32_t buffer_id, |
+ int32_t frame_feedback_id, |
+ mojom::ScopedAccessPermissionPtr access_permission, |
+ media::mojom::VideoFrameInfoPtr frame_info) { |
+ DoOnFrameReadyInBuffer(buffer_id, frame_feedback_id, &access_permission, |
+ &frame_info); |
} |
} // namespace video_capture |