#include "services/video_capture/public/cpp/mock_video_capture_service.h"
#include "build/chromeos_buildflags.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
namespace video_capture {
MockVideoCaptureService::MockVideoCaptureService() { … }
MockVideoCaptureService::~MockVideoCaptureService() = default;
void MockVideoCaptureService::ConnectToVideoSourceProvider(
mojo::PendingReceiver<video_capture::mojom::VideoSourceProvider> receiver) { … }
#if BUILDFLAG(IS_CHROMEOS_ASH)
void MockVideoCaptureService::InjectGpuDependencies(
mojo::PendingRemote<video_capture::mojom::AcceleratorFactory>
accelerator_factory) {
DoInjectGpuDependencies(std::move(accelerator_factory));
}
void MockVideoCaptureService::BindVideoCaptureDeviceFactory(
mojo::PendingReceiver<crosapi::mojom::VideoCaptureDeviceFactory> receiver) {
DoBindVideoCaptureDeviceFactory(std::move(receiver));
}
#endif
}