#include "media/capture/video/file_video_capture_device_factory.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/strings/sys_string_conversions.h"
#include "base/threading/scoped_blocking_call.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
#include "media/base/media_switches.h"
#include "media/capture/video/file_video_capture_device.h"
namespace media {
const char kFileVideoCaptureDeviceName[] = …;
base::FilePath GetFilePathFromCommandLine() { … }
VideoCaptureErrorOrDevice FileVideoCaptureDeviceFactory::CreateDevice(
const VideoCaptureDeviceDescriptor& device_descriptor) { … }
void FileVideoCaptureDeviceFactory::GetDevicesInfo(
GetDevicesInfoCallback callback) { … }
}