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

Unified Diff: services/video_capture/test/fake_device_test.h

Issue 2813343002: [Mojo Video Capture] Switch to using Mojo structs in media/capture/mojo (Closed)
Patch Set: Removed extraneous AtLeast 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
Index: services/video_capture/test/fake_device_test.h
diff --git a/services/video_capture/test/fake_device_test.h b/services/video_capture/test/fake_device_test.h
index af0bde2d21837239f0e138590c84c1cb5b067b2e..013c6d322f958f3c6ebc8a622c43e69c2335f70d 100644
--- a/services/video_capture/test/fake_device_test.h
+++ b/services/video_capture/test/fake_device_test.h
@@ -5,8 +5,7 @@
#ifndef SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_TEST_H_
#define SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_TEST_H_
-#include "base/test/mock_callback.h"
-#include "services/video_capture/public/cpp/capture_settings.h"
+#include "media/capture/video_capture_types.h"
#include "services/video_capture/test/fake_device_descriptor_test.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -22,10 +21,8 @@ class FakeDeviceTest : public FakeDeviceDescriptorTest {
void SetUp() override;
protected:
- base::MockCallback<mojom::DeviceFactory::GetSupportedFormatsCallback>
- supported_formats_receiver_;
- I420CaptureFormat fake_device_first_supported_format_;
- CaptureSettings requestable_settings_;
+ media::VideoCaptureFormat fake_device_first_supported_format_;
+ media::VideoCaptureParams requestable_settings_;
mojom::DevicePtr fake_device_proxy_;
};
« no previous file with comments | « services/video_capture/test/fake_device_descriptor_unittest.cc ('k') | services/video_capture/test/fake_device_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698