chromium/base/test/test_simple_task_runner.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

// TODO(gab): Use SequenceToken here to differentiate between tasks running in
// the scope of this TestSimpleTaskRunner and other task runners sharing this
// thread. http://crbug.com/631186
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() {}

}  // namespace base