#include "media/capture/video/mock_device.h"
namespace media {
MockDevice::MockDevice() = default;
MockDevice::~MockDevice() = default;
void MockDevice::SendStubFrame(const media::VideoCaptureFormat& format,
int rotation,
int frame_feedback_id) { … }
void MockDevice::SendOnStarted() { … }
void MockDevice::AllocateAndStart(const media::VideoCaptureParams& params,
std::unique_ptr<Client> client) { … }
void MockDevice::StopAndDeAllocate() { … }
void MockDevice::GetPhotoState(GetPhotoStateCallback callback) { … }
void MockDevice::SetPhotoOptions(media::mojom::PhotoSettingsPtr settings,
SetPhotoOptionsCallback callback) { … }
void MockDevice::TakePhoto(TakePhotoCallback callback) { … }
}