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

Side by Side Diff: device/capture/video/video_capture_device_factory.h

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_ 5 #ifndef DEVICE_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_
6 #define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_ 6 #define DEVICE_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
10 #include "media/capture/video/video_capture_device.h" 10 #include "device/capture/video/video_capture_device.h"
11 11
12 namespace media { 12 namespace device {
13 13
14 // VideoCaptureDeviceFactory is the base class for creation of video capture 14 // VideoCaptureDeviceFactory is the base class for creation of video capture
15 // devices in the different platforms. VCDFs are created by MediaStreamManager 15 // devices in the different platforms. VCDFs are created by MediaStreamManager
16 // on IO thread and plugged into VideoCaptureManager, who owns and operates them 16 // on IO thread and plugged into VideoCaptureManager, who owns and operates them
17 // in Device Thread (a.k.a. Audio Thread). 17 // in Device Thread (a.k.a. Audio Thread).
18 // Typical operation is to first call EnumerateDeviceDescriptors() to obtain 18 // Typical operation is to first call EnumerateDeviceDescriptors() to obtain
19 // information about available devices. The obtained descriptors can then be 19 // information about available devices. The obtained descriptors can then be
20 // used to either obtain the supported formats of a device using 20 // used to either obtain the supported formats of a device using
21 // GetSupportedFormats(), or to create an instance of VideoCaptureDevice for 21 // GetSupportedFormats(), or to create an instance of VideoCaptureDevice for
22 // the device using CreateDevice(). 22 // the device using CreateDevice().
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 base::ThreadChecker thread_checker_; 56 base::ThreadChecker thread_checker_;
57 57
58 private: 58 private:
59 static VideoCaptureDeviceFactory* CreateVideoCaptureDeviceFactory( 59 static VideoCaptureDeviceFactory* CreateVideoCaptureDeviceFactory(
60 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); 60 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
61 61
62 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactory); 62 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactory);
63 }; 63 };
64 64
65 } // namespace media 65 } // namespace device
66 66
67 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_ 67 #endif // DEVICE_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_
OLDNEW
« no previous file with comments | « device/capture/video/video_capture_device_descriptor.cc ('k') | device/capture/video/video_capture_device_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698