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

Unified Diff: services/video_capture/public/interfaces/video_capture_service.mojom

Issue 2244763002: Video Capture Mojo (1.4a.a): Add service configurator interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MakeService
Patch Set: mcasas' comments Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
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
+// which can be configured through the FakeVideoCaptureDeviceFactoryConfigurator
+// interface.
+interface VideoCaptureService {
+ ConnectToDeviceFactory(VideoCaptureDeviceFactory& request);
+ ConnectToFakeDeviceFactory(VideoCaptureDeviceFactory& request);
+ ConnectToFakeDeviceFactoryConfigurator(
+ FakeVideoCaptureDeviceFactoryConfigurator & request);
+};

Powered by Google App Engine
This is Rietveld 408576698