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

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

Issue 2502483003: [Mojo Video Capture] Cleanup naming of classes/files in services/video_capture (Closed)
Patch Set: Rebase Created 4 years, 1 month 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.mojom
diff --git a/services/video_capture/public/interfaces/video_capture_service.mojom b/services/video_capture/public/interfaces/service.mojom
similarity index 47%
rename from services/video_capture/public/interfaces/video_capture_service.mojom
rename to services/video_capture/public/interfaces/service.mojom
index 0c5a6e9317b1d83cc8590ed7dd0d0de10897449e..9a9e6f65f7faa0fd809ea147d7bc67229ffac9eb 100644
--- a/services/video_capture/public/interfaces/video_capture_service.mojom
+++ b/services/video_capture/public/interfaces/service.mojom
@@ -4,22 +4,22 @@
module video_capture.mojom;
-import "services/video_capture/public/interfaces/mock_video_capture_device.mojom";
-import "services/video_capture/public/interfaces/video_capture_device_descriptor.mojom";
-import "services/video_capture/public/interfaces/video_capture_device_factory.mojom";
+import "services/video_capture/public/interfaces/mock_device.mojom";
+import "services/video_capture/public/interfaces/device_descriptor.mojom";
+import "services/video_capture/public/interfaces/device_factory.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
// Entry point to the Video Capture Service API.
-// The service hosts three VideoCaptureDeviceFactories. The "regular" factory
+// The service hosts three DeviceFactories. The "regular" factory
// provides access to the capture devices connected to the system. The "fake"
// factory provides access to a single fake device that generates test frames.
// The "mock" factory provides access to a set of mock devices provided by the
// client, which are useful for verifying that the service implementation
// operates these devices correctly.
-interface VideoCaptureService {
- ConnectToDeviceFactory(VideoCaptureDeviceFactory& request);
- ConnectToFakeDeviceFactory(VideoCaptureDeviceFactory& request);
- ConnectToMockDeviceFactory(VideoCaptureDeviceFactory& request);
- [Sync] AddDeviceToMockFactory(MockVideoCaptureDevice device,
- VideoCaptureDeviceDescriptor descriptor) => ();
+interface Service {
+ ConnectToDeviceFactory(DeviceFactory& request);
+ ConnectToFakeDeviceFactory(DeviceFactory& request);
+ ConnectToMockDeviceFactory(DeviceFactory& request);
+ [Sync] AddDeviceToMockFactory(MockMediaDevice device,
+ DeviceDescriptor descriptor) => ();
};
« no previous file with comments | « services/video_capture/public/interfaces/receiver.mojom ('k') | services/video_capture/public/interfaces/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698