#include "media/cast/test/fake_video_encode_accelerator_factory.h"
#include <utility>
#include "base/functional/callback_helpers.h"
#include "base/task/single_thread_task_runner.h"
namespace media {
namespace cast {
FakeVideoEncodeAcceleratorFactory::FakeVideoEncodeAcceleratorFactory(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner)
: … { … }
FakeVideoEncodeAcceleratorFactory::~FakeVideoEncodeAcceleratorFactory() =
default;
void FakeVideoEncodeAcceleratorFactory::SetInitializationWillSucceed(
bool will_init_succeed) { … }
void FakeVideoEncodeAcceleratorFactory::SetAutoRespond(bool auto_respond) { … }
void FakeVideoEncodeAcceleratorFactory::CreateVideoEncodeAccelerator(
ReceiveVideoEncodeAcceleratorCallback callback) { … }
void FakeVideoEncodeAcceleratorFactory::RespondWithVideoEncodeAccelerator() { … }
}
}