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

Unified Diff: services/video_capture/test/mock_receiver.cc

Issue 2844813002: Revert of [Mojo Video Capture] Adapt video_capture service to refactored video capture stack (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « services/video_capture/test/mock_receiver.h ('k') | services/video_capture/test/service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 34d11199b2b4f42e469258145ac81f66f9a3b9e8..5665911f5549b0ce347370ad718246a8e9b36c1b 100644
--- a/services/video_capture/test/mock_receiver.cc
+++ b/services/video_capture/test/mock_receiver.cc
@@ -11,19 +11,9 @@
MockReceiver::~MockReceiver() = default;
-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);
+void MockReceiver::OnIncomingCapturedVideoFrame(
+ media::mojom::VideoFramePtr frame) {
+ OnIncomingCapturedVideoFramePtr(&frame);
}
} // namespace video_capture
« no previous file with comments | « services/video_capture/test/mock_receiver.h ('k') | services/video_capture/test/service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698