#include "modules/desktop_capture/fake_desktop_capturer.h"
#include <utility>
#include "modules/desktop_capture/desktop_capture_types.h"
#include "modules/desktop_capture/desktop_frame.h"
namespace webrtc {
FakeDesktopCapturer::FakeDesktopCapturer() = default;
FakeDesktopCapturer::~FakeDesktopCapturer() = default;
void FakeDesktopCapturer::set_result(DesktopCapturer::Result result) { … }
int FakeDesktopCapturer::num_frames_captured() const { … }
int FakeDesktopCapturer::num_capture_attempts() const { … }
void FakeDesktopCapturer::set_frame_generator(
DesktopFrameGenerator* generator) { … }
void FakeDesktopCapturer::Start(DesktopCapturer::Callback* callback) { … }
void FakeDesktopCapturer::CaptureFrame() { … }
void FakeDesktopCapturer::SetSharedMemoryFactory(
std::unique_ptr<SharedMemoryFactory> shared_memory_factory) { … }
bool FakeDesktopCapturer::GetSourceList(DesktopCapturer::SourceList* sources) { … }
bool FakeDesktopCapturer::SelectSource(DesktopCapturer::SourceId id) { … }
}