chromium/media/capture/video/mock_device.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace media