Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Side by Side Diff: services/video_capture/video_capture_device_impl.h

Issue 2244763002: Video Capture Mojo (1.4a.a): Add service configurator interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MakeService
Patch Set: mcasas' comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ 5 #ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
6 #define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ 6 #define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
7 7
8 #include "services/video_capture/public/interfaces/video_capture_device.mojom.h" 8 #include "services/video_capture/public/interfaces/video_capture_device.mojom.h"
9 9
10 namespace video_capture { 10 namespace video_capture {
11 11
12 // Implementation of the VideoCaptureDevice Mojo interface. 12 // Implementation of mojom::VideoCaptureDeviceProxy backed by a given instance
13 // of media::VideoCaptureDevice.
13 class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice { 14 class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice {
14 public: 15 public:
15 // mojom::VideoCaptureDevice: 16 // mojom::VideoCaptureDeviceProxy:
16 void Start(mojom::VideoCaptureFormatPtr requested_format, 17 void Start(mojom::VideoCaptureFormatPtr requested_format,
17 mojom::ResolutionChangePolicy resolution_change_policy, 18 mojom::ResolutionChangePolicy resolution_change_policy,
18 mojom::PowerLineFrequency power_line_frequency, 19 mojom::PowerLineFrequency power_line_frequency,
19 mojom::VideoCaptureDeviceClientPtr client) override; 20 mojom::VideoCaptureDeviceClientPtr client) override;
20 }; 21 };
21 22
22 } // namespace video_capture 23 } // namespace video_capture
23 24
24 #endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ 25 #endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
OLDNEW
« no previous file with comments | « services/video_capture/video_capture_device_factory_impl.cc ('k') | services/video_capture/video_capture_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698