#include "media/base/fake_single_thread_task_runner.h"
#include <utility>
#include "base/location.h"
#include "base/logging.h"
#include "base/time/tick_clock.h"
namespace media {
FakeSingleThreadTaskRunner::FakeSingleThreadTaskRunner(
base::SimpleTestTickClock* clock)
: … { … }
FakeSingleThreadTaskRunner::~FakeSingleThreadTaskRunner() = default;
bool FakeSingleThreadTaskRunner::PostDelayedTask(
const base::Location& from_here,
base::OnceClosure task,
base::TimeDelta delay) { … }
bool FakeSingleThreadTaskRunner::RunsTasksInCurrentSequence() const { … }
void FakeSingleThreadTaskRunner::RunTasks() { … }
void FakeSingleThreadTaskRunner::Sleep(base::TimeDelta t) { … }
bool FakeSingleThreadTaskRunner::PostNonNestableDelayedTask(
const base::Location& from_here,
base::OnceClosure task,
base::TimeDelta delay) { … }
}