Chromium Code Reviews| Index: services/video_capture/public/interfaces/video_capture_service.mojom |
| diff --git a/services/video_capture/public/interfaces/video_capture_service.mojom b/services/video_capture/public/interfaces/video_capture_service.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3e18bfb6789fd797a3beb8c7da067b585c76736c |
| --- /dev/null |
| +++ b/services/video_capture/public/interfaces/video_capture_service.mojom |
| @@ -0,0 +1,21 @@ |
| +// 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"; |
| +import "services/video_capture/public/interfaces/fake_video_capture_device_factory_configurator.mojom"; |
| + |
| +// Entry point to the Video Capture Service API. |
| +// The service hosts two VideoCaptureDeviceFactories. The "regular" factory |
| +// provides access to the capture devices connected to the system. The "fake" |
| +// factory uses the same interface but provides access to a set of fake devices |
|
yzshen1
2016/08/16 17:55:08
Is the "fake" one only used for testing? If yes, I
chfremer
2016/08/16 18:34:40
Ack. The Fake factory is to be shipped as part of
|
| +// which can be configured through the FakeVideoCaptureDeviceFactoryConfigurator |
| +// interface. |
| +interface VideoCaptureService { |
| + ConnectToDeviceFactory(VideoCaptureDeviceFactory& request); |
| + ConnectToFakeDeviceFactory(VideoCaptureDeviceFactory& request); |
| + ConnectToFakeDeviceFactoryConfigurator( |
| + FakeVideoCaptureDeviceFactoryConfigurator & request); |
|
yzshen1
2016/08/16 17:55:08
nit: no need to have a space before "&"
chfremer
2016/08/16 18:34:40
Done.
|
| +}; |