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

Unified Diff: services/video_capture/mock_device_video_capture_service_unittest.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_unittest.cc
diff --git a/services/video_capture/mock_device_video_capture_service_unittest.cc b/services/video_capture/mock_device_video_capture_service_unittest.cc
index 93a5ddaed77edc8a38752fa315006269fe94f7ab..2b9856e522186b00b84b7c096a6c8ceb03884b50 100644
--- a/services/video_capture/mock_device_video_capture_service_unittest.cc
+++ b/services/video_capture/mock_device_video_capture_service_unittest.cc
@@ -23,7 +23,7 @@ TEST_F(MockDeviceVideoCaptureServiceTest,
device_proxy_->Start(std::move(requested_format_),
mojom::ResolutionChangePolicy::FIXED_RESOLUTION,
mojom::PowerLineFrequency::DEFAULT,
- std::move(mock_client_proxy_));
+ std::move(mock_receiver_proxy_));
device_proxy_.reset();
wait_loop.Run();
@@ -42,8 +42,8 @@ TEST_F(MockDeviceVideoCaptureServiceTest,
device_proxy_->Start(std::move(requested_format_),
mojom::ResolutionChangePolicy::FIXED_RESOLUTION,
mojom::PowerLineFrequency::DEFAULT,
- std::move(mock_client_proxy_));
- mock_client_.reset();
+ std::move(mock_receiver_proxy_));
+ mock_receiver_.reset();
wait_loop.Run();
}

Powered by Google App Engine
This is Rietveld 408576698