#include "content/browser/renderer_host/media/fake_video_capture_provider.h"
#include <memory>
#include "content/browser/renderer_host/media/fake_video_capture_device_launcher.h"
#include "media/capture/video/fake_video_capture_device_factory.h"
namespace content {
FakeVideoCaptureProvider::FakeVideoCaptureProvider(
std::unique_ptr<::media::VideoCaptureDeviceFactory> device_factory)
: … { … }
FakeVideoCaptureProvider::FakeVideoCaptureProvider()
: … { … }
FakeVideoCaptureProvider::~FakeVideoCaptureProvider() = default;
void FakeVideoCaptureProvider::GetDeviceInfosAsync(
GetDeviceInfosCallback result_callback) { … }
std::unique_ptr<VideoCaptureDeviceLauncher>
FakeVideoCaptureProvider::CreateDeviceLauncher() { … }
void FakeVideoCaptureProvider::OpenNativeScreenCapturePicker(
DesktopMediaID::Type type,
base::OnceCallback<void(webrtc::DesktopCapturer::Source)> picker_callback,
base::OnceCallback<void()> cancel_callback,
base::OnceCallback<void()> error_callback) { … }
void FakeVideoCaptureProvider::CloseNativeScreenCapturePicker(
DesktopMediaID device_id) { … }
}