Chromium Code Reviews| 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 7fb0597fe7e99f61ae5def6f4ce500a1b4b738a3..d6f3b3042372511251489c5b829faf1da26ebdcb 100644 |
| --- a/media/capture/video/fake_video_capture_device_factory.h |
| +++ b/media/capture/video/fake_video_capture_device_factory.h |
| @@ -24,6 +24,9 @@ class CAPTURE_EXPORT FakeVideoCaptureDeviceFactory |
| FakeVideoCaptureDeviceFactory(); |
| ~FakeVideoCaptureDeviceFactory() override {} |
| + static media::VideoPixelFormat GetPixelFormatFromDeviceId( |
|
mcasas
2017/02/17 18:35:47
Should be private, but better than that just keep
chfremer
2017/02/22 17:28:42
The reason I am exposing this here is because the
mcasas
2017/02/22 20:26:32
Duplication for a test is OK, otherwise we'd be co
chfremer
2017/02/23 01:14:27
Duplication for a test can be problematic. We want
mcasas
2017/02/23 21:46:18
I like this "are you sure" :-) and I'm not the on
|
| + const std::string& device_id); |
| + |
| std::unique_ptr<VideoCaptureDevice> CreateDevice( |
| const VideoCaptureDeviceDescriptor& device_descriptor) override; |
| void GetDeviceDescriptors( |