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 |
| 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); |
| 21 }; |
OLD | NEW |