| 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/win/video_capture_device_factory_win.h" | 5 #include "media/capture/video/win/video_capture_device_factory_win.h" |
| 6 | 6 |
| 7 #include <mfapi.h> | 7 #include <mfapi.h> |
| 8 #include <mferror.h> | 8 #include <mferror.h> |
| 9 #include <stddef.h> |
| 9 | 10 |
| 10 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 11 #include "base/macros.h" | 12 #include "base/macros.h" |
| 12 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 13 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 14 #include "base/strings/sys_string_conversions.h" | 15 #include "base/strings/sys_string_conversions.h" |
| 15 #include "base/win/metro.h" | 16 #include "base/win/metro.h" |
| 16 #include "base/win/scoped_co_mem.h" | 17 #include "base/win/scoped_co_mem.h" |
| 17 #include "base/win/scoped_variant.h" | 18 #include "base/win/scoped_variant.h" |
| 18 #include "base/win/windows_version.h" | 19 #include "base/win/windows_version.h" |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 } | 428 } |
| 428 | 429 |
| 429 // static | 430 // static |
| 430 VideoCaptureDeviceFactory* | 431 VideoCaptureDeviceFactory* |
| 431 VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory( | 432 VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory( |
| 432 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 433 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
| 433 return new VideoCaptureDeviceFactoryWin(); | 434 return new VideoCaptureDeviceFactoryWin(); |
| 434 } | 435 } |
| 435 | 436 |
| 436 } // namespace media | 437 } // namespace media |
| OLD | NEW |