| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |