#include "base/test/test_simple_task_runner.h"
#include <optional>
#include <utility>
#include "base/check.h"
#include "base/memory/ptr_util.h"
#include "base/task/single_thread_task_runner.h"
namespace base {
TestSimpleTaskRunner::TestSimpleTaskRunner() = default;
TestSimpleTaskRunner::~TestSimpleTaskRunner() = default;
bool TestSimpleTaskRunner::PostDelayedTask(const Location& from_here,
OnceClosure task,
TimeDelta delay) { … }
bool TestSimpleTaskRunner::PostNonNestableDelayedTask(const Location& from_here,
OnceClosure task,
TimeDelta delay) { … }
bool TestSimpleTaskRunner::RunsTasksInCurrentSequence() const { … }
base::circular_deque<TestPendingTask> TestSimpleTaskRunner::TakePendingTasks() { … }
size_t TestSimpleTaskRunner::NumPendingTasks() const { … }
bool TestSimpleTaskRunner::HasPendingTask() const { … }
base::TimeDelta TestSimpleTaskRunner::NextPendingTaskDelay() const { … }
base::TimeDelta TestSimpleTaskRunner::FinalPendingTaskDelay() const { … }
void TestSimpleTaskRunner::ClearPendingTasks() { … }
void TestSimpleTaskRunner::RunPendingTasks() { … }
void TestSimpleTaskRunner::RunUntilIdle() { … }
}