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

Unified Diff: services/video_capture/public/interfaces/service_configurator.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: Merge-in changes from upstream 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/service_configurator.mojom
diff --git a/services/video_capture/public/interfaces/service_configurator.mojom b/services/video_capture/public/interfaces/service_configurator.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..8b1990ebd605a22e41217ccef8c3f5babb05b03d
--- /dev/null
+++ b/services/video_capture/public/interfaces/service_configurator.mojom
@@ -0,0 +1,16 @@
+// 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";
+
+// Allows clients to add fake and file-based video capture devices to be offered
+// through the VideoCaptureDeviceFactory instance exposed by the service.
+interface ServiceConfigurator {
mcasas 2016/08/12 23:38:37 If this is just for testing (and it is: currently
chfremer 2016/08/15 20:10:34 Good point. I am not sure, though, if this is real
+ // Returns the descriptor under which the newly added fake device will be
+ // advertised in VideoCaptureDeviceFactory::EnumerateDeviceDescriptors().
+ AddFakeVideoCaptureDevice()
mcasas 2016/08/12 23:38:37 A comment: Fake and File VCDs are used a lot for o
chfremer 2016/08/15 20:10:34 Agreed that we probably do not need to have a sing
+ => (VideoCaptureDeviceDescriptor descriptor);
+};

Powered by Google App Engine
This is Rietveld 408576698