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 SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_FACTORY_IMPL_H_ |
| 6 #define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_FACTORY_IMPL_H_ |
| 7 |
| 8 #include "services/video_capture/public/interfaces/video_capture_device_factory.
mojom.h" |
| 9 |
| 10 namespace video_capture { |
| 11 |
| 12 // Implementation of the VideoCaptureDeviceFactory Mojo interface. |
| 13 class VideoCaptureDeviceFactoryImpl : public mojom::VideoCaptureDeviceFactory { |
| 14 public: |
| 15 // mojom::VideoCaptureDeviceFactory: |
| 16 void EnumerateDeviceDescriptors( |
| 17 const EnumerateDeviceDescriptorsCallback& callback) override; |
| 18 void GetSupportedFormats( |
| 19 mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, |
| 20 const GetSupportedFormatsCallback& callback) override; |
| 21 void CreateDevice(mojom::VideoCaptureDeviceDescriptorPtr device_descriptor, |
| 22 mojom::VideoCaptureDeviceRequest device_request) override; |
| 23 }; |
| 24 |
| 25 } // namespace video_capture |
| 26 |
| 27 #endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_FACTORY_IMPL_H_ |
OLD | NEW |