Index: media/video/capture/video_capture_device_factory.cc |
diff --git a/media/video/capture/video_capture_device_factory.cc b/media/video/capture/video_capture_device_factory.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..84d2da6614637a12dba2c2c2118e4e6f7ace4641 |
--- /dev/null |
+++ b/media/video/capture/video_capture_device_factory.cc |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "media/video/capture/video_capture_device_factory.h" |
+ |
+namespace media { |
+ |
+VideoCaptureDevice* VideoCaptureDeviceFactory::Create( |
+ const VideoCaptureDevice::Name& device_name) { |
+ return VideoCaptureDevice::Create(device_name); |
perkj_chrome
2014/04/17 08:39:09
Please thread check here and below.
mcasas
2014/04/23 06:20:28
Check added to GetDeviceNames() and GetDeviceSuppo
|
+} |
+ |
+void VideoCaptureDeviceFactory::GetDeviceNames( |
+ VideoCaptureDevice::Names* device_names) { |
+ VideoCaptureDevice::GetDeviceNames(device_names); |
+}; |
+ |
+void VideoCaptureDeviceFactory::GetDeviceSupportedFormats( |
+ const VideoCaptureDevice::Name& device, |
+ VideoCaptureFormats* supported_formats) { |
+ VideoCaptureDevice::GetDeviceSupportedFormats(device, supported_formats); |
+}; |
+ |
+} // namespace media |