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

Unified Diff: services/video_capture/mock_device_video_capture_service_test.cc

Issue 2378943002: Let clients interact with VideoCaptureDeviceClient instead of VideoCaptureDevice (Closed)
Patch Set: mcasas comments Created 4 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: services/video_capture/mock_device_video_capture_service_test.cc
diff --git a/services/video_capture/mock_device_video_capture_service_test.cc b/services/video_capture/mock_device_video_capture_service_test.cc
index 513f4a5957e0f29ffad8121c7391616c8d2a0f06..662e54d19429d67ba5ec14e49dabf92004e7c79e 100644
--- a/services/video_capture/mock_device_video_capture_service_test.cc
+++ b/services/video_capture/mock_device_video_capture_service_test.cc
@@ -37,8 +37,8 @@ void MockDeviceVideoCaptureServiceTest::SetUp() {
requested_format_->frame_rate = 15;
requested_format_->pixel_format = media::mojom::VideoFormat::I420;
requested_format_->pixel_storage = mojom::VideoPixelStorage::CPU;
- mock_client_ = base::MakeUnique<MockVideoCaptureDeviceClient>(
- mojo::GetProxy(&mock_client_proxy_));
+ mock_receiver_ = base::MakeUnique<MockVideoFrameReceiver>(
+ mojo::GetProxy(&mock_receiver_proxy_));
}
} // namespace video_capture

Powered by Google App Engine
This is Rietveld 408576698