Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: components/scheduler/child/null_idle_task_runner.cc

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/scheduler/child/null_idle_task_runner.cc
diff --git a/content/child/scheduler/null_idle_task_runner.cc b/components/scheduler/child/null_idle_task_runner.cc
similarity index 80%
rename from content/child/scheduler/null_idle_task_runner.cc
rename to components/scheduler/child/null_idle_task_runner.cc
index 08818ce5d430c6776b9dcc8c74811e09887f81db..9d11e7c565f35095d7805ab1c26f184b36343e4d 100644
--- a/content/child/scheduler/null_idle_task_runner.cc
+++ b/components/scheduler/child/null_idle_task_runner.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/child/scheduler/null_idle_task_runner.h"
+#include "components/scheduler/child/null_idle_task_runner.h"
-namespace content {
+namespace scheduler {
NullIdleTaskRunner::NullIdleTaskRunner()
: SingleThreadIdleTaskRunner(nullptr,
@@ -27,8 +27,8 @@ void NullIdleTaskRunner::PostNonNestableIdleTask(
}
void NullIdleTaskRunner::PostIdleTaskAfterWakeup(
- const tracked_objects::Location& from_here,
- const IdleTask& idle_task) {
+ const tracked_objects::Location& from_here,
+ const IdleTask& idle_task) {
}
-} // namespace content
+} // namespace scheduler

Powered by Google App Engine
This is Rietveld 408576698