Chromium Code Reviews| Index: services/video_capture/public/interfaces/service_configurator.mojom |
| diff --git a/services/video_capture/public/interfaces/service_configurator.mojom b/services/video_capture/public/interfaces/service_configurator.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8b1990ebd605a22e41217ccef8c3f5babb05b03d |
| --- /dev/null |
| +++ b/services/video_capture/public/interfaces/service_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 add fake and file-based video capture devices to be offered |
| +// through the VideoCaptureDeviceFactory instance exposed by the service. |
| +interface ServiceConfigurator { |
|
mcasas
2016/08/12 23:38:37
If this is just for testing (and it is: currently
chfremer
2016/08/15 20:10:34
Good point. I am not sure, though, if this is real
|
| + // Returns the descriptor under which the newly added fake device will be |
| + // advertised in VideoCaptureDeviceFactory::EnumerateDeviceDescriptors(). |
| + AddFakeVideoCaptureDevice() |
|
mcasas
2016/08/12 23:38:37
A comment: Fake and File VCDs are used a lot for
o
chfremer
2016/08/15 20:10:34
Agreed that we probably do not need to have a sing
|
| + => (VideoCaptureDeviceDescriptor descriptor); |
| +}; |