| Index: media/video/capture/video_capture_device.h
|
| diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h
|
| index 8229716022a9bf261cfc4c7bd31481de6eb6edc4..7651d04b53e4ebf2b18b793e19c60970f4e859c0 100644
|
| --- a/media/video/capture/video_capture_device.h
|
| +++ b/media/video/capture/video_capture_device.h
|
| @@ -18,6 +18,7 @@
|
| #include "base/logging.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/time/time.h"
|
| #include "media/base/media_export.h"
|
| #include "media/base/video_frame.h"
|
| @@ -190,7 +191,9 @@ class MEDIA_EXPORT VideoCaptureDevice {
|
|
|
| // Creates a VideoCaptureDevice object.
|
| // Return NULL if the hardware is not available.
|
| - static VideoCaptureDevice* Create(const Name& device_name);
|
| + static VideoCaptureDevice* Create(
|
| + scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
|
| + const Name& device_name);
|
| virtual ~VideoCaptureDevice();
|
|
|
| // Gets the names of all video capture devices connected to this computer.
|
|
|