#include "third_party/blink/renderer/platform/scheduler/main_thread/main_thread_web_scheduling_task_queue_impl.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/platform/scheduler/main_thread/main_thread_task_queue.h"
namespace blink {
namespace scheduler {
MainThreadWebSchedulingTaskQueueImpl::WebSchedulingTaskRunner::
WebSchedulingTaskRunner(
scoped_refptr<base::SingleThreadTaskRunner> immediate_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> delayed_task_runner)
: … { … }
bool MainThreadWebSchedulingTaskQueueImpl::WebSchedulingTaskRunner::
PostDelayedTask(const base::Location& location,
base::OnceClosure task,
base::TimeDelta delay) { … }
bool MainThreadWebSchedulingTaskQueueImpl::WebSchedulingTaskRunner::
PostNonNestableDelayedTask(const base::Location& location,
base::OnceClosure task,
base::TimeDelta delay) { … }
bool MainThreadWebSchedulingTaskQueueImpl::WebSchedulingTaskRunner::
RunsTasksInCurrentSequence() const { … }
base::SingleThreadTaskRunner* MainThreadWebSchedulingTaskQueueImpl::
WebSchedulingTaskRunner::GetTaskRunnerForDelay(base::TimeDelta delay) { … }
MainThreadWebSchedulingTaskQueueImpl::MainThreadWebSchedulingTaskQueueImpl(
base::WeakPtr<MainThreadTaskQueue> immediate_task_queue,
base::WeakPtr<MainThreadTaskQueue> delayed_task_queue)
: … { … }
MainThreadWebSchedulingTaskQueueImpl::~MainThreadWebSchedulingTaskQueueImpl() { … }
void MainThreadWebSchedulingTaskQueueImpl::SetPriority(
WebSchedulingPriority priority) { … }
scoped_refptr<base::SingleThreadTaskRunner>
MainThreadWebSchedulingTaskQueueImpl::GetTaskRunner() { … }
}
}