| 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 "media/capture/video/video_capture_device_factory.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "build/build_config.h" |
| 8 #include "media/base/media_switches.h" | 9 #include "media/base/media_switches.h" |
| 9 #include "media/capture/video/fake_video_capture_device_factory.h" | 10 #include "media/capture/video/fake_video_capture_device_factory.h" |
| 10 #include "media/capture/video/file_video_capture_device_factory.h" | 11 #include "media/capture/video/file_video_capture_device_factory.h" |
| 11 | 12 |
| 12 namespace media { | 13 namespace media { |
| 13 | 14 |
| 14 // static | 15 // static |
| 15 scoped_ptr<VideoCaptureDeviceFactory> VideoCaptureDeviceFactory::CreateFactory( | 16 scoped_ptr<VideoCaptureDeviceFactory> VideoCaptureDeviceFactory::CreateFactory( |
| 16 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 17 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
| 17 const base::CommandLine* command_line = | 18 const base::CommandLine* command_line = |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // static | 57 // static |
| 57 VideoCaptureDeviceFactory* | 58 VideoCaptureDeviceFactory* |
| 58 VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory( | 59 VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory( |
| 59 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 60 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
| 60 NOTIMPLEMENTED(); | 61 NOTIMPLEMENTED(); |
| 61 return NULL; | 62 return NULL; |
| 62 } | 63 } |
| 63 #endif | 64 #endif |
| 64 | 65 |
| 65 } // namespace media | 66 } // namespace media |
| OLD | NEW |