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

Unified Diff: services/video_capture/mock_device_descriptor_receiver.h

Issue 2468663003: [Mojo Video Capture] Add Mojo Typemap for VideoCaptureDeviceDescriptor (Closed)
Patch Set: 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
Index: services/video_capture/mock_device_descriptor_receiver.h
diff --git a/services/video_capture/mock_device_descriptor_receiver.h b/services/video_capture/mock_device_descriptor_receiver.h
index 8f44dd7b5168894b3873695fe7b9d88a73e090b6..b75534b3c3697a5e73e4d979fd763fbb0d2ce4ea 100644
--- a/services/video_capture/mock_device_descriptor_receiver.h
+++ b/services/video_capture/mock_device_descriptor_receiver.h
@@ -17,13 +17,9 @@ class MockDeviceDescriptorReceiver {
MockDeviceDescriptorReceiver();
~MockDeviceDescriptorReceiver();
- // Use forwarding method to work around gmock not supporting move-only types.
- void HandleEnumerateDeviceDescriptorsCallback(
- std::vector<mojom::VideoCaptureDeviceDescriptorPtr> descriptors);
-
MOCK_METHOD1(
OnEnumerateDeviceDescriptorsCallback,
- void(const std::vector<mojom::VideoCaptureDeviceDescriptorPtr>&));
+ void(const std::vector<media::VideoCaptureDeviceDescriptor>&));
};
} // namespace video_capture

Powered by Google App Engine
This is Rietveld 408576698