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(); |
}; |