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

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

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 #include "media/capture/video/video_capture_device_factory.h" 5 #include "device/capture/video/video_capture_device_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "device/capture/video/fake_video_capture_device_factory.h"
12 #include "device/capture/video/file_video_capture_device_factory.h"
11 #include "media/base/media_switches.h" 13 #include "media/base/media_switches.h"
12 #include "media/capture/video/fake_video_capture_device_factory.h"
13 #include "media/capture/video/file_video_capture_device_factory.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 // static 17 // static
18 std::unique_ptr<VideoCaptureDeviceFactory> 18 std::unique_ptr<VideoCaptureDeviceFactory>
19 VideoCaptureDeviceFactory::CreateFactory( 19 VideoCaptureDeviceFactory::CreateFactory(
20 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { 20 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
21 const base::CommandLine* command_line = 21 const base::CommandLine* command_line =
22 base::CommandLine::ForCurrentProcess(); 22 base::CommandLine::ForCurrentProcess();
23 // Use a Fake or File Video Device Factory if the command line flags are 23 // Use a Fake or File Video Device Factory if the command line flags are
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // static 61 // static
62 VideoCaptureDeviceFactory* 62 VideoCaptureDeviceFactory*
63 VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory( 63 VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory(
64 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { 64 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
65 NOTIMPLEMENTED(); 65 NOTIMPLEMENTED();
66 return NULL; 66 return NULL;
67 } 67 }
68 #endif 68 #endif
69 69
70 } // namespace media 70 } // namespace media
OLDNEW
« no previous file with comments | « device/capture/video/video_capture_device_factory.h ('k') | device/capture/video/video_capture_device_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698