| Index: device/video/video_capture_device_client.mojom
|
| diff --git a/device/sensors/public/interfaces/light.mojom b/device/video/video_capture_device_client.mojom
|
| similarity index 53%
|
| copy from device/sensors/public/interfaces/light.mojom
|
| copy to device/video/video_capture_device_client.mojom
|
| index 3c12347dd39f2a6f3ecff27f4e5ba494de2ddd48..9802d60b2d02e2406bbd134d6b8116f367218dd6 100644
|
| --- a/device/sensors/public/interfaces/light.mojom
|
| +++ b/device/video/video_capture_device_client.mojom
|
| @@ -4,7 +4,9 @@
|
|
|
| module device.mojom;
|
|
|
| -interface LightSensor {
|
| - StartPolling() => (handle<shared_buffer> memory_handle);
|
| - StopPolling();
|
| +import "media/mojo/interfaces/media_types.mojom";
|
| +
|
| +interface VideoCaptureDeviceClient {
|
| + OnFrameAvailable(media.mojom.VideoFrame frame);
|
| + OnError(string error);
|
| };
|
|
|