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

Unified Diff: services/video_capture/fake_device_test.cc

Issue 2502483003: [Mojo Video Capture] Cleanup naming of classes/files in services/video_capture (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/fake_device_test.h ('k') | services/video_capture/fake_device_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/video_capture/fake_device_test.cc
diff --git a/services/video_capture/fake_device_test.cc b/services/video_capture/fake_device_test.cc
index 7021173a456b5d8da81f1b584057a131b676679d..406502d1690d57da16bb6b2f28478eb8e9daa713 100644
--- a/services/video_capture/fake_device_test.cc
+++ b/services/video_capture/fake_device_test.cc
@@ -28,7 +28,7 @@ void FakeDeviceTest::SetUp() {
base::RunLoop wait_loop;
EXPECT_CALL(supported_formats_receiver_, OnGetSupportedFormatsCallback(_))
.WillOnce(Invoke(
- [this, &wait_loop](const std::vector<VideoCaptureFormat>& formats) {
+ [this, &wait_loop](const std::vector<I420CaptureFormat>& formats) {
fake_device_first_supported_format_ = formats[0];
wait_loop.Quit();
}));
@@ -44,7 +44,7 @@ void FakeDeviceTest::SetUp() {
requestable_settings_.power_line_frequency =
media::PowerLineFrequency::FREQUENCY_DEFAULT;
- factory_->CreateDeviceProxy(
+ factory_->CreateDevice(
std::move(fake_device_descriptor_.device_id),
mojo::GetProxy(&fake_device_proxy_),
base::Bind([](mojom::DeviceAccessResultCode result_code) {
« no previous file with comments | « services/video_capture/fake_device_test.h ('k') | services/video_capture/fake_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698