#include "base/task/deferred_sequenced_task_runner.h"
#include "base/task/common/scoped_defer_task_posting.h"
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
namespace base {
DeferredSequencedTaskRunner::DeferredTask::DeferredTask()
: … { … }
DeferredSequencedTaskRunner::DeferredTask::DeferredTask(DeferredTask&& other) =
default;
DeferredSequencedTaskRunner::DeferredTask::~DeferredTask() = default;
DeferredSequencedTaskRunner::DeferredTask&
DeferredSequencedTaskRunner::DeferredTask::operator=(DeferredTask&& other) =
default;
DeferredSequencedTaskRunner::DeferredSequencedTaskRunner(
scoped_refptr<SequencedTaskRunner> target_task_runner)
: … { … }
DeferredSequencedTaskRunner::DeferredSequencedTaskRunner()
: … { … }
bool DeferredSequencedTaskRunner::PostDelayedTask(const Location& from_here,
OnceClosure task,
TimeDelta delay) { … }
bool DeferredSequencedTaskRunner::RunsTasksInCurrentSequence() const { … }
bool DeferredSequencedTaskRunner::PostNonNestableDelayedTask(
const Location& from_here,
OnceClosure task,
TimeDelta delay) { … }
void DeferredSequencedTaskRunner::Start() { … }
void DeferredSequencedTaskRunner::StartWithTaskRunner(
scoped_refptr<SequencedTaskRunner> target_task_runner) { … }
bool DeferredSequencedTaskRunner::Started() const { … }
DeferredSequencedTaskRunner::~DeferredSequencedTaskRunner() = default;
void DeferredSequencedTaskRunner::QueueDeferredTask(const Location& from_here,
OnceClosure task,
TimeDelta delay,
bool is_non_nestable) { … }
void DeferredSequencedTaskRunner::StartImpl() { … }
}