#include "services/video_capture/test/video_capture_service_test.h"
#include "base/command_line.h"
#include "base/task/single_thread_task_runner.h"
#include "media/base/media_switches.h"
#include "services/video_capture/public/cpp/mock_producer.h"
#include "services/video_capture/public/mojom/constants.mojom.h"
namespace {
const media::VideoCaptureFormat kDefaultSupportedFormat{ … };
}
namespace video_capture {
VideoCaptureServiceTest::SharedMemoryVirtualDeviceContext::
SharedMemoryVirtualDeviceContext(
mojo::PendingReceiver<mojom::Producer> producer_receiver)
: … { … }
VideoCaptureServiceTest::SharedMemoryVirtualDeviceContext::
~SharedMemoryVirtualDeviceContext() = default;
VideoCaptureServiceTest::VideoCaptureServiceTest() = default;
VideoCaptureServiceTest::~VideoCaptureServiceTest() = default;
void VideoCaptureServiceTest::SetUp() { … }
std::unique_ptr<VideoCaptureServiceTest::SharedMemoryVirtualDeviceContext>
VideoCaptureServiceTest::AddSharedMemoryVirtualDevice(
const std::string& device_id) { … }
mojo::PendingRemote<mojom::TextureVirtualDevice>
VideoCaptureServiceTest::AddTextureVirtualDevice(const std::string& device_id) { … }
}