chromium/components/media_effects/test/fake_video_capture_service.cc

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

#include "components/media_effects/test/fake_video_capture_service.h"

#include "base/test/test_future.h"
#include "content/public/browser/video_capture_service.h"

namespace media_effects {

void FakeVideoCaptureService::AddFakeCamera(
    const media::VideoCaptureDeviceDescriptor& descriptor) {}

bool FakeVideoCaptureService::AddFakeCameraBlocking(
    const media::VideoCaptureDeviceDescriptor& descriptor) {}

void FakeVideoCaptureService::RemoveFakeCamera(const std::string& device_id) {}

bool FakeVideoCaptureService::RemoveFakeCameraBlocking(
    const std::string& device_id) {}

void FakeVideoCaptureService::SetOnRepliedWithSourceInfosCallback(
    base::OnceClosure callback) {}

// `callback` will be triggered when the source provider receives a
// GetVideoSource call.
void FakeVideoCaptureService::SetOnGetVideoSourceCallback(
    FakeVideoSourceProvider::GetVideoSourceCallback callback) {}

void FakeVideoCaptureService::ConnectToVideoSourceProvider(
    mojo::PendingReceiver<video_capture::mojom::VideoSourceProvider> receiver) {}

ScopedFakeVideoCaptureService::ScopedFakeVideoCaptureService() {}

ScopedFakeVideoCaptureService::~ScopedFakeVideoCaptureService() {}

}  // namespace media_effects