Index: media/capture/video/fake_video_capture_device_factory.h |
diff --git a/media/capture/video/fake_video_capture_device_factory.h b/media/capture/video/fake_video_capture_device_factory.h |
index 6f67c811b9053daebdb0e6070374beb99415fee5..9951eb829b391c9c2a2de4e27540aaa18589c6cc 100644 |
--- a/media/capture/video/fake_video_capture_device_factory.h |
+++ b/media/capture/video/fake_video_capture_device_factory.h |
@@ -20,11 +20,12 @@ class CAPTURE_EXPORT FakeVideoCaptureDeviceFactory |
FakeVideoCaptureDeviceFactory(); |
~FakeVideoCaptureDeviceFactory() override {} |
- std::unique_ptr<VideoCaptureDevice> Create( |
- const VideoCaptureDevice::Name& device_name) override; |
- void GetDeviceNames(VideoCaptureDevice::Names* device_names) override; |
- void GetDeviceSupportedFormats( |
- const VideoCaptureDevice::Name& device, |
+ std::unique_ptr<VideoCaptureDevice> CreateDevice( |
+ const VideoCaptureDeviceDescriptor& device_descriptor) override; |
+ void GetDeviceDescriptors( |
+ VideoCaptureDeviceDescriptors* device_descriptors) override; |
+ void GetSupportedFormats( |
+ const VideoCaptureDeviceDescriptor& device_descriptor, |
VideoCaptureFormats* supported_formats) override; |
void set_number_of_devices(int number_of_devices) { |