Chromium Code Reviews| Index: media/video/capture/file_video_capture_device_factory.h |
| diff --git a/media/video/capture/file_video_capture_device_factory.h b/media/video/capture/file_video_capture_device_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c32c4896e96f5ac68dd79be11401fdf9ccd34968 |
| --- /dev/null |
| +++ b/media/video/capture/file_video_capture_device_factory.h |
| @@ -0,0 +1,28 @@ |
| +// 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. |
| + |
| +#ifndef MEDIA_VIDEO_CAPTURE_FILE_VIDEO_CAPTURE_DEVICE_FACTORY_H_ |
| +#define MEDIA_VIDEO_CAPTURE_FILE_VIDEO_CAPTURE_DEVICE_FACTORY_H_ |
| + |
| +#include "media/video/capture/video_capture_device_factory.h" |
| + |
| +namespace media { |
| + |
|
perkj_chrome
2014/04/24 14:43:32
Please add a comment what this does.
mcasas
2014/04/24 20:20:26
Done.
|
| +class MEDIA_EXPORT FileVideoCaptureDeviceFactory : |
| + public VideoCaptureDeviceFactory { |
| + public: |
| + FileVideoCaptureDeviceFactory() {} |
| + virtual ~FileVideoCaptureDeviceFactory() {} |
| + |
| + virtual scoped_ptr<VideoCaptureDevice> Create( |
| + const VideoCaptureDevice::Name& device_name) OVERRIDE; |
| + virtual void GetDeviceNames(VideoCaptureDevice::Names* device_names) OVERRIDE; |
| + virtual void GetDeviceSupportedFormats( |
| + const VideoCaptureDevice::Name& device, |
| + VideoCaptureFormats* supported_formats) OVERRIDE; |
| +}; |
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_VIDEO_CAPTURE_FILE_VIDEO_CAPTURE_DEVICE_FACTORY_H_ |