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

Unified Diff: services/video_capture/mock_device_descriptor_receiver.h

Issue 2468663003: [Mojo Video Capture] Add Mojo Typemap for VideoCaptureDeviceDescriptor (Closed)
Patch Set: dcheng's comments and formatting 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..347c35f165d2a7208bd4ce41939f7b429b0953b1 100644
--- a/services/video_capture/mock_device_descriptor_receiver.h
+++ b/services/video_capture/mock_device_descriptor_receiver.h
@@ -17,13 +17,8 @@ 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>&));
+ MOCK_METHOD1(OnEnumerateDeviceDescriptorsCallback,
+ void(const std::vector<media::VideoCaptureDeviceDescriptor>&));
};
} // namespace video_capture
« no previous file with comments | « services/video_capture/fake_device_descriptor_unittest.cc ('k') | services/video_capture/mock_device_descriptor_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698