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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_
6 #define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_ 6 #define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/single_thread_task_runner.h"
9 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
10 #include "media/capture/video/video_capture_device.h" 11 #include "media/capture/video/video_capture_device.h"
11 12
12 namespace media { 13 namespace media {
13 14
14 // VideoCaptureDeviceFactory is the base class for creation of video capture 15 // VideoCaptureDeviceFactory is the base class for creation of video capture
15 // devices in the different platforms. VCDFs are created by MediaStreamManager 16 // devices in the different platforms. VCDFs are created by MediaStreamManager
16 // on IO thread and plugged into VideoCaptureManager, who owns and operates them 17 // on IO thread and plugged into VideoCaptureManager, who owns and operates them
17 // in Device Thread (a.k.a. Audio Thread). 18 // in Device Thread (a.k.a. Audio Thread).
18 // Typical operation is to first call GetDeviceDescriptors() to obtain 19 // Typical operation is to first call GetDeviceDescriptors() to obtain
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 private: 57 private:
57 static VideoCaptureDeviceFactory* CreateVideoCaptureDeviceFactory( 58 static VideoCaptureDeviceFactory* CreateVideoCaptureDeviceFactory(
58 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); 59 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
59 60
60 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactory); 61 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceFactory);
61 }; 62 };
62 63
63 } // namespace media 64 } // namespace media
64 65
65 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_ 66 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698