Chromium Code Reviews| 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 62% |
| rename from services/video_capture/public/interfaces/video_capture_device_proxy.mojom |
| rename to services/video_capture/public/interfaces/device.mojom |
| index 2c35027fb596cdfefd6216f83f64be2bae66ccc4..a480a54a64ff9ec66029f3dab6aedfcbf2323db8 100644 |
| --- a/services/video_capture/public/interfaces/video_capture_device_proxy.mojom |
| +++ b/services/video_capture/public/interfaces/device.mojom |
| @@ -5,16 +5,16 @@ |
| 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. |
| +// VideoCaptureDevice 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); |
| +interface Device { |
| + Start(CaptureSettings requested_settings, |
|
mcasas
2016/11/16 04:25:49
reflow params to fit in one line.
chfremer
2016/11/16 17:14:12
Done.
|
| + Receiver receiver); |
| }; |