Chromium Code Reviews| Index: media/video/capture/fake_video_capture_device.h |
| diff --git a/media/video/capture/fake_video_capture_device.h b/media/video/capture/fake_video_capture_device.h |
| index 174ba06ae7e729161be19d831d1fdec668c94c0b..c316c4268416e1591fe0d961a397568a78b095ae 100644 |
| --- a/media/video/capture/fake_video_capture_device.h |
| +++ b/media/video/capture/fake_video_capture_device.h |
| @@ -23,6 +23,8 @@ class MEDIA_EXPORT FakeVideoCaptureDevice : public VideoCaptureDevice { |
| // Used for testing. This will make sure the next call to Create will |
| // return NULL; |
| static void SetFailNextCreate(); |
| + static void SetNumberOfFakeDevices(int num); |
| + static int NumberOfFakeDevices(); |
| static void GetDeviceNames(Names* device_names); |
| static void GetDeviceSupportedFormats(const Name& device, |
| @@ -63,6 +65,7 @@ class MEDIA_EXPORT FakeVideoCaptureDevice : public VideoCaptureDevice { |
| std::vector<VideoCaptureCapability> capabilities_roster_; |
| int capabilities_roster_index_; |
| + static int numberOfFakeDevices; |
|
no longer working on chromium
2013/11/12 16:48:00
I am confused here, how this numberOfFakeDevices i
mcasas
2013/11/12 18:10:16
Originally there was a file-scope enum =2 that was
no longer working on chromium
2013/11/13 16:20:21
I see, thanks for the clarification.
|
| static bool fail_next_create_; |
| DISALLOW_COPY_AND_ASSIGN(FakeVideoCaptureDevice); |