OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module video_capture.mojom; | |
6 | |
7 import "services/video_capture/public/interfaces/video_capture_device_factory.mo jom"; | |
8 import "services/video_capture/public/interfaces/fake_video_capture_device_facto ry_configurator.mojom"; | |
9 | |
10 // Entry point to the Video Capture Service API. | |
11 // The service hosts two VideoCaptureDeviceFactories. The "regular" factory | |
12 // provides access to the capture devices connected to the system. The "fake" | |
13 // 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
| |
14 // which can be configured through the FakeVideoCaptureDeviceFactoryConfigurator | |
15 // interface. | |
16 interface VideoCaptureService { | |
17 ConnectToDeviceFactory(VideoCaptureDeviceFactory& request); | |
18 ConnectToFakeDeviceFactory(VideoCaptureDeviceFactory& request); | |
19 ConnectToFakeDeviceFactoryConfigurator( | |
20 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.
| |
21 }; | |
OLD | NEW |