OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef DEVICE_VIDEO_VIDEO_CAPTURE_DEVICE_IMPL_H_ |
| 6 #define DEVICE_VIDEO_VIDEO_CAPTURE_DEVICE_IMPL_H_ |
| 7 |
| 8 #include "device/video/video_capture_device.mojom.h" |
| 9 |
| 10 namespace device { |
| 11 |
| 12 // Implementation of the VideoCaptureDevice Mojo interface. |
| 13 class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice { |
| 14 public: |
| 15 // mojom::VideoCaptureDevice: |
| 16 void AllocateAndStart( |
| 17 mojom::VideoCaptureParamsPtr requested_config, |
| 18 ::device::mojom::VideoCaptureDeviceClientPtr client) override; |
| 19 void StopAndDeAllocate() override; |
| 20 }; |
| 21 |
| 22 } // namespace device |
| 23 |
| 24 #endif // DEVICE_VIDEO_VIDEO_CAPTURE_DEVICE_IMPL_H_ |
OLD | NEW |