Chromium Code Reviews| 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/device_factory.mojom"; | |
| 8 | |
| 9 // Production entry point to the Video Capture Service API. | |
| 10 // The service hosts two DeviceFactories. The "regular" factory | |
| 11 // provides access to the capture devices connected to the system. The "fake" | |
| 12 // factory provides access to a single fake device that generates test frames. | |
| 13 // Note: Despite the name, the fake factory is a production feature that is | |
| 14 // shipped in release builds of Chromium. It is useful for Web Developers who | |
| 15 // want to test video capture code without having to use an actual capture | |
| 16 // device. | |
| 17 interface Service { | |
| 18 ConnectToDeviceFactory(DeviceFactory& request); | |
| 19 ConnectToFakeDeviceFactory(DeviceFactory& request); | |
|
mcasas
2017/04/27 00:22:15
This file is very similar to device_factory_provid
chfremer
2017/04/27 19:52:49
Agreed that this is confusing. I am using similari
| |
| 20 }; | |
| OLD | NEW |