#include "media/capture/video/video_capture_device_factory.h"
#include <utility>
#include "base/command_line.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "media/base/media_switches.h"
#include "media/capture/video/fake_video_capture_device_factory.h"
#include "media/capture/video/file_video_capture_device_factory.h"
namespace media {
VideoCaptureErrorOrDevice::VideoCaptureErrorOrDevice(
std::unique_ptr<VideoCaptureDevice> video_device)
: … { … }
VideoCaptureErrorOrDevice::VideoCaptureErrorOrDevice(VideoCaptureError err_code)
: … { … }
VideoCaptureErrorOrDevice::~VideoCaptureErrorOrDevice() = default;
VideoCaptureErrorOrDevice::VideoCaptureErrorOrDevice(
VideoCaptureErrorOrDevice&& other)
: … { … }
std::unique_ptr<VideoCaptureDevice> VideoCaptureErrorOrDevice::ReleaseDevice() { … }
VideoCaptureDeviceFactory::VideoCaptureDeviceFactory() { … }
VideoCaptureDeviceFactory::~VideoCaptureDeviceFactory() = default;
#if BUILDFLAG(IS_WIN)
scoped_refptr<DXGIDeviceManager>
VideoCaptureDeviceFactory::GetDxgiDeviceManager() {
return nullptr;
}
void VideoCaptureDeviceFactory::OnGpuInfoUpdate(const CHROME_LUID& luid) {}
#endif
}