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

Unified Diff: services/video_capture/mock_supported_formats_receiver.h

Issue 2386183002: Replace manual conversions with Mojo type mappings
Patch Set: 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_supported_formats_receiver.h
diff --git a/services/video_capture/mock_supported_formats_receiver.h b/services/video_capture/mock_supported_formats_receiver.h
index 62e83e107f88c24bbb8d9a7916638d45a7501b6d..66ab5cfe900b33ba7670749af5b49b62c4577264 100644
--- a/services/video_capture/mock_supported_formats_receiver.h
+++ b/services/video_capture/mock_supported_formats_receiver.h
@@ -17,13 +17,9 @@ class MockSupportedFormatsReceiver {
MockSupportedFormatsReceiver();
~MockSupportedFormatsReceiver();
- // Use forwarding method to work around gmock not supporting move-only types.
- void HandleGetSupportedFormatsCallback(
- std::vector<mojom::VideoCaptureFormatPtr> formats);
-
MOCK_METHOD1(
OnGetSupportedFormatsCallback,
- void(const std::vector<mojom::VideoCaptureFormatPtr>&));
+ void(const std::vector<media::VideoCaptureFormat>&));
};
} // namespace video_capture
« no previous file with comments | « services/video_capture/mock_device_test.cc ('k') | services/video_capture/mock_supported_formats_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698