Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: services/video_capture/public/interfaces/service.mojom

Issue 2824883005: [Mojo Video Capture] Stop service when last client disconnects. (Closed)
Patch Set: Incorporate suggestions from PatchSet 1 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698