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

Unified Diff: components/scheduler/child/single_thread_idle_task_runner.h

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates 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/single_thread_idle_task_runner.h
diff --git a/content/child/scheduler/single_thread_idle_task_runner.h b/components/scheduler/child/single_thread_idle_task_runner.h
similarity index 89%
rename from content/child/scheduler/single_thread_idle_task_runner.h
rename to components/scheduler/child/single_thread_idle_task_runner.h
index b5281a57389139a8a33ea8e13cb8b1bf7c6e947b..358389a96dc50607a7a1ad449d983f719369f0b9 100644
--- a/content/child/scheduler/single_thread_idle_task_runner.h
+++ b/components/scheduler/child/single_thread_idle_task_runner.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_SCHEDULER_SINGLE_THREAD_IDLE_TASK_RUNNER_H_
-#define CONTENT_CHILD_SCHEDULER_SINGLE_THREAD_IDLE_TASK_RUNNER_H_
+#ifndef COMPONENTS_SCHEDULER_CHILD_SINGLE_THREAD_IDLE_TASK_RUNNER_H_
+#define COMPONENTS_SCHEDULER_CHILD_SINGLE_THREAD_IDLE_TASK_RUNNER_H_
#include "base/bind.h"
#include "base/callback.h"
@@ -11,7 +11,7 @@
#include "base/single_thread_task_runner.h"
#include "base/time/time.h"
-namespace content {
+namespace scheduler {
// A SingleThreadIdleTaskRunner is a task runner for running idle tasks. Idle
// tasks have an unbound argument which is bound to a deadline
@@ -60,6 +60,6 @@ class SingleThreadIdleTaskRunner
DISALLOW_COPY_AND_ASSIGN(SingleThreadIdleTaskRunner);
};
-} // namespace content
+} // namespace scheduler
-#endif // CONTENT_CHILD_SCHEDULER_SINGLE_THREAD_IDLE_TASK_RUNNER_H_
+#endif // COMPONENTS_SCHEDULER_CHILD_SINGLE_THREAD_IDLE_TASK_RUNNER_H_

Powered by Google App Engine
This is Rietveld 408576698