Introduce a SchedulerHelper in content/child/scheduler
[chromium-blink-merge.git] / content / child / scheduler / null_idle_task_runner.cc
blob08818ce5d430c6776b9dcc8c74811e09887f81db
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/child/scheduler/null_idle_task_runner.h"
7 namespace content {
9 NullIdleTaskRunner::NullIdleTaskRunner()
10 : SingleThreadIdleTaskRunner(nullptr,
11 nullptr,
12 base::Callback<void(base::TimeTicks*)>(),
13 "null.taskrunner") {
16 NullIdleTaskRunner::~NullIdleTaskRunner() {
19 void NullIdleTaskRunner::PostIdleTask(
20 const tracked_objects::Location& from_here,
21 const IdleTask& idle_task) {
24 void NullIdleTaskRunner::PostNonNestableIdleTask(
25 const tracked_objects::Location& from_here,
26 const IdleTask& idle_task) {
29 void NullIdleTaskRunner::PostIdleTaskAfterWakeup(
30 const tracked_objects::Location& from_here,
31 const IdleTask& idle_task) {
34 } // namespace content