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

Unified Diff: services/video_capture/public/interfaces/device.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/device.mojom
diff --git a/services/video_capture/public/interfaces/video_capture_device_proxy.mojom b/services/video_capture/public/interfaces/device.mojom
similarity index 50%
rename from services/video_capture/public/interfaces/video_capture_device_proxy.mojom
rename to services/video_capture/public/interfaces/device.mojom
index 2c35027fb596cdfefd6216f83f64be2bae66ccc4..5aa4a002c4fca1fd9e0cc546cac8b8a1bd395be9 100644
--- a/services/video_capture/public/interfaces/video_capture_device_proxy.mojom
+++ b/services/video_capture/public/interfaces/device.mojom
@@ -5,16 +5,14 @@
module video_capture.mojom;
import "media/capture/mojo/video_capture_types.mojom";
-import "services/video_capture/public/interfaces/video_capture_settings.mojom";
-import "services/video_capture/public/interfaces/video_frame_receiver.mojom";
+import "services/video_capture/public/interfaces/capture_settings.mojom";
+import "services/video_capture/public/interfaces/receiver.mojom";
// Represents access to a video capture device available on the machine.
// Note: Instead of offering an explicit Stop() method, the device
// is stopped automatically when the message pipe corresponding to either the
-// VideoCaptureDeviceProxy or the given VideoFrameReceiver is closed.
-// The frames deliverd to |receiver| are guaranteed to use I420 encoding and
-// are backed by Mojo shared buffers.
-interface VideoCaptureDeviceProxy {
- Start(VideoCaptureSettings requested_settings,
- VideoFrameReceiver receiver);
+// Device or the given |receiver| is closed. The frames deliverd to |receiver|
+// are guaranteed to use I420 encoding and are backed by Mojo shared buffers.
+interface Device {
+ Start(CaptureSettings requested_settings, Receiver receiver);
};

Powered by Google App Engine
This is Rietveld 408576698