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

Unified Diff: components/scheduler/child/nestable_single_thread_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: 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/nestable_single_thread_task_runner.h
diff --git a/content/child/scheduler/nestable_single_thread_task_runner.h b/components/scheduler/child/nestable_single_thread_task_runner.h
similarity index 64%
rename from content/child/scheduler/nestable_single_thread_task_runner.h
rename to components/scheduler/child/nestable_single_thread_task_runner.h
index dbacaf8cab52d67aa5965650a5ebd7cf27af9b50..e1bf99094da241978c993eb2b53eaf4284c66c65 100644
--- a/content/child/scheduler/nestable_single_thread_task_runner.h
+++ b/components/scheduler/child/nestable_single_thread_task_runner.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_SCHEDULER_NESTABLE_SINGLE_THREAD_TASK_RUNNER_H_
-#define CONTENT_CHILD_SCHEDULER_NESTABLE_SINGLE_THREAD_TASK_RUNNER_H_
+#ifndef COMPONENTS_SCHEDULER_CHILD_NESTABLE_SINGLE_THREAD_TASK_RUNNER_H_
+#define COMPONENTS_SCHEDULER_CHILD_NESTABLE_SINGLE_THREAD_TASK_RUNNER_H_
#include "base/single_thread_task_runner.h"
-#include "content/common/content_export.h"
+#include "components/scheduler/scheduler_export.h"
-namespace content {
+namespace scheduler {
// A single thread task runner which exposes whether it is running nested.
-class CONTENT_EXPORT NestableSingleThreadTaskRunner
+class SCHEDULER_EXPORT NestableSingleThreadTaskRunner
: public base::SingleThreadTaskRunner {
public:
NestableSingleThreadTaskRunner() {}
@@ -26,6 +26,6 @@ class CONTENT_EXPORT NestableSingleThreadTaskRunner
DISALLOW_COPY_AND_ASSIGN(NestableSingleThreadTaskRunner);
};
-} // namespace content
+} // namespace scheduler
-#endif // CONTENT_CHILD_SCHEDULER_NESTABLE_SINGLE_THREAD_TASK_RUNNER_H_
+#endif // COMPONENTS_SCHEDULER_CHILD_NESTABLE_SINGLE_THREAD_TASK_RUNNER_H_

Powered by Google App Engine
This is Rietveld 408576698