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

Side by Side Diff: device/video/video_capture_device_factory_impl.h

Issue 2155303002: Video Capture Mojo Component: Skeleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed 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
(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_FACTORY_IMPL_H_
6 #define DEVICE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_IMPL_H_
7
8 #include "device/video/video_capture_device_factory.mojom.h"
9
10 namespace device {
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 const CreateDeviceCallback& callback) override;
23 };
24
25 } // namespace device
26
27 #endif // DEVICE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698