| 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..5781183445b3baef100073339c47e0a072a7f529 100644
|
| --- a/services/video_capture/mock_device_descriptor_receiver.h
|
| +++ b/services/video_capture/mock_device_descriptor_receiver.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef SERVICES_VIDEO_CAPTURE_MOCK_DEVICE_DESCRIPTOR_RECEIVER_H_
|
| #define SERVICES_VIDEO_CAPTURE_MOCK_DEVICE_DESCRIPTOR_RECEIVER_H_
|
|
|
| -#include "services/video_capture/public/interfaces/video_capture_device_factory.mojom.h"
|
| +#include "media/capture/video/video_capture_device_descriptor.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
|
|
| namespace video_capture {
|
| @@ -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
|
|
|