| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/scheduler/child/null_idle_task_runner.h" | 5 #include "components/scheduler/child/null_idle_task_runner.h" |
| 6 | 6 |
| 7 namespace scheduler { | 7 namespace scheduler { |
| 8 | 8 |
| 9 NullIdleTaskRunner::NullIdleTaskRunner() | 9 NullIdleTaskRunner::NullIdleTaskRunner() |
| 10 : SingleThreadIdleTaskRunner(nullptr, | 10 : SingleThreadIdleTaskRunner(nullptr, nullptr, nullptr, "null.taskrunner") { |
| 11 nullptr, | |
| 12 base::Callback<void(base::TimeTicks*)>(), | |
| 13 "null.taskrunner") { | |
| 14 } | 11 } |
| 15 | 12 |
| 16 NullIdleTaskRunner::~NullIdleTaskRunner() { | 13 NullIdleTaskRunner::~NullIdleTaskRunner() { |
| 17 } | 14 } |
| 18 | 15 |
| 19 void NullIdleTaskRunner::PostIdleTask( | 16 void NullIdleTaskRunner::PostIdleTask( |
| 20 const tracked_objects::Location& from_here, | 17 const tracked_objects::Location& from_here, |
| 21 const IdleTask& idle_task) { | 18 const IdleTask& idle_task) { |
| 22 } | 19 } |
| 23 | 20 |
| 24 void NullIdleTaskRunner::PostNonNestableIdleTask( | 21 void NullIdleTaskRunner::PostNonNestableIdleTask( |
| 25 const tracked_objects::Location& from_here, | 22 const tracked_objects::Location& from_here, |
| 26 const IdleTask& idle_task) { | 23 const IdleTask& idle_task) { |
| 27 } | 24 } |
| 28 | 25 |
| 29 void NullIdleTaskRunner::PostIdleTaskAfterWakeup( | 26 void NullIdleTaskRunner::PostIdleTaskAfterWakeup( |
| 30 const tracked_objects::Location& from_here, | 27 const tracked_objects::Location& from_here, |
| 31 const IdleTask& idle_task) { | 28 const IdleTask& idle_task) { |
| 32 } | 29 } |
| 33 | 30 |
| 34 } // namespace scheduler | 31 } // namespace scheduler |
| OLD | NEW |