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