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

Unified Diff: components/scheduler/child/prioritizing_task_queue_selector.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/prioritizing_task_queue_selector.h
diff --git a/content/child/scheduler/prioritizing_task_queue_selector.h b/components/scheduler/child/prioritizing_task_queue_selector.h
similarity index 90%
rename from content/child/scheduler/prioritizing_task_queue_selector.h
rename to components/scheduler/child/prioritizing_task_queue_selector.h
index 936f2ae87f5b4af61025285dafc82f5e65cc6288..a9a63eb12bde3fc5f0b6976ecce44f7db93509ac 100644
--- a/content/child/scheduler/prioritizing_task_queue_selector.h
+++ b/components/scheduler/child/prioritizing_task_queue_selector.h
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_SCHEDULER_PRIORITIZING_TASK_QUEUE_SELECTOR_H_
-#define CONTENT_CHILD_SCHEDULER_PRIORITIZING_TASK_QUEUE_SELECTOR_H_
+#ifndef COMPONENTS_SCHEDULER_CHILD_PRIORITIZING_TASK_QUEUE_SELECTOR_H_
+#define COMPONENTS_SCHEDULER_CHILD_PRIORITIZING_TASK_QUEUE_SELECTOR_H_
#include <set>
#include "base/compiler_specific.h"
#include "base/threading/thread_checker.h"
-#include "content/child/scheduler/task_queue_selector.h"
-#include "content/common/content_export.h"
+#include "components/scheduler/child/task_queue_selector.h"
+#include "components/scheduler/scheduler_export.h"
-namespace content {
+namespace scheduler {
// A PrioritizingTaskQueueSelector is a TaskQueueSelector which is used by the
// SchedulerHelper to enable prioritization of particular task queues.
-class CONTENT_EXPORT PrioritizingTaskQueueSelector
+class SCHEDULER_EXPORT PrioritizingTaskQueueSelector
: NON_EXPORTED_BASE(public TaskQueueSelector) {
public:
enum QueuePriority {
@@ -103,6 +103,6 @@ class CONTENT_EXPORT PrioritizingTaskQueueSelector
DISALLOW_COPY_AND_ASSIGN(PrioritizingTaskQueueSelector);
};
-} // namespace content
+} // namespace scheduler
-#endif // CONTENT_CHILD_SCHEDULER_PRIORITIZING_TASK_QUEUE_SELECTOR_H_
+#endif // COMPONENTS_SCHEDULER_CHILD_PRIORITIZING_TASK_QUEUE_SELECTOR_H_
« no previous file with comments | « components/scheduler/child/null_worker_scheduler.cc ('k') | components/scheduler/child/prioritizing_task_queue_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698