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

Unified Diff: services/video_capture/public/interfaces/mock_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/mock_device.mojom
diff --git a/services/video_capture/public/interfaces/mock_video_capture_device.mojom b/services/video_capture/public/interfaces/mock_device.mojom
similarity index 79%
rename from services/video_capture/public/interfaces/mock_video_capture_device.mojom
rename to services/video_capture/public/interfaces/mock_device.mojom
index 64b1505e38a660fb0009e343e7bcee5da75ee512..8928cbeab4ddcadb3c66017025fbbefa8666c963 100644
--- a/services/video_capture/public/interfaces/mock_video_capture_device.mojom
+++ b/services/video_capture/public/interfaces/mock_device.mojom
@@ -18,16 +18,16 @@ interface MockDeviceClient {
// This interface contains only simplified versions of the methods from
// media::VideoCaptureDevice that we actually verify in tests.
//
-// Similar to VideoCaptureDeviceProxy, this interface is an abstraction of a
+// Similar to video_capture.mojom.Device, this interface is an abstraction of a
// device, but the purpose of the two interfaces is quite different.
-// VideoCaptureDeviceProxy is for production clients of the Mojo service to
-// interact with the devices. MockVideoCaptureDevice is for tests of the Mojo
+// video_capture.mojom.Device is for production clients of the Mojo service to
+// interact with the devices. MockMediaDevice is for tests of the Mojo
// service to allow verification of calls of the service made to instances of
// media::VideoCaptureDevice.
//
// Instances can be added to the mock factory provided by the
-// VideoCaptureService.
-interface MockVideoCaptureDevice {
+// video_capture.mojom.Service.
+interface MockMediaDevice {
AllocateAndStart(MockDeviceClient client);
StopAndDeAllocate();
};

Powered by Google App Engine
This is Rietveld 408576698