Index: services/video_capture/public/interfaces/fake_video_capture_device_factory_configurator.mojom |
diff --git a/services/video_capture/public/interfaces/fake_video_capture_device_factory_configurator.mojom b/services/video_capture/public/interfaces/fake_video_capture_device_factory_configurator.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d8ef279b050b08f43d6f41152257bbe2bb7f23e |
--- /dev/null |
+++ b/services/video_capture/public/interfaces/fake_video_capture_device_factory_configurator.mojom |
@@ -0,0 +1,16 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module video_capture.mojom; |
+ |
+import "services/video_capture/public/interfaces/video_capture_device_factory.mojom"; |
+ |
+// Allows clients to create and configure set of fake capture devices that will |
+// be exposed through the fake factory offered by VideoCaptureService. |
+interface FakeVideoCaptureDeviceFactoryConfigurator { |
+ // Returns the descriptor under which the newly added fake device will be |
+ // advertised in EnumerateDeviceDescriptors(). |
+ AddFakeVideoCaptureDevice() |
+ => (VideoCaptureDeviceDescriptor descriptor); |
+}; |