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_IMPL_H_ | |
6 #define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ | |
7 | |
8 #include "services/video_capture/public/interfaces/video_capture_device.mojom.h" | |
9 | |
10 namespace video_capture { | |
11 | |
12 // Implementation of the VideoCaptureDevice Mojo interface. | |
13 class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice { | |
14 public: | |
15 // mojom::VideoCaptureDevice: | |
16 void Start(mojom::VideoCaptureFormatPtr requested_format, | |
17 mojom::ResolutionChangePolicy resolution_change_policy, | |
18 mojom::PowerLineFrequency power_line_frequency, | |
19 mojom::VideoCaptureDeviceClientPtr client) override; | |
20 }; | |
21 | |
22 } // namespace video_capture | |
23 | |
24 #endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ | |
OLD | NEW |