Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_selector.h |
diff --git a/components/scheduler/base/task_queue_selector.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_selector.h |
similarity index 94% |
rename from components/scheduler/base/task_queue_selector.h |
rename to third_party/WebKit/Source/platform/scheduler/base/task_queue_selector.h |
index 4a82adcfbd38a7c58ae2cbb8d44e143ea4c9da73..2ebf18f4a45a9e005b1c587046636ba944deedf9 100644 |
--- a/components/scheduler/base/task_queue_selector.h |
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_selector.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 COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_ |
-#define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_ |
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_ |
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_ |
#include <stddef.h> |
@@ -13,15 +13,15 @@ |
#include "base/macros.h" |
#include "base/pending_task.h" |
#include "base/threading/thread_checker.h" |
-#include "components/scheduler/base/work_queue_sets.h" |
-#include "components/scheduler/scheduler_export.h" |
+#include "platform/scheduler/base/work_queue_sets.h" |
+namespace blink { |
namespace scheduler { |
namespace internal { |
// TaskQueueSelector is used by the SchedulerHelper to enable prioritization |
// of particular task queues. |
-class SCHEDULER_EXPORT TaskQueueSelector { |
+class BLINK_PLATFORM_EXPORT TaskQueueSelector { |
public: |
TaskQueueSelector(); |
~TaskQueueSelector(); |
@@ -58,7 +58,7 @@ class SCHEDULER_EXPORT TaskQueueSelector { |
// Serialize the selector state for tracing. |
void AsValueInto(base::trace_event::TracedValue* state) const; |
- class SCHEDULER_EXPORT Observer { |
+ class BLINK_PLATFORM_EXPORT Observer { |
public: |
virtual ~Observer() {} |
@@ -83,7 +83,7 @@ class SCHEDULER_EXPORT TaskQueueSelector { |
bool EnabledWorkQueuesEmpty() const; |
protected: |
- class SCHEDULER_EXPORT PrioritizingSelector { |
+ class BLINK_PLATFORM_EXPORT PrioritizingSelector { |
public: |
PrioritizingSelector(TaskQueueSelector* task_queue_selector, |
const char* name); |
@@ -202,5 +202,6 @@ class SCHEDULER_EXPORT TaskQueueSelector { |
} // namespace internal |
} // namespace scheduler |
+} // namespace blink |
-#endif // COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H |
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_SELECTOR_H_ |