| Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
|
| diff --git a/components/scheduler/base/task_queue_impl.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
|
| similarity index 94%
|
| rename from components/scheduler/base/task_queue_impl.h
|
| rename to third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
|
| index 327cbd278b0f4d086ac590ee6c2f82a29176c7b3..dee99194ecc13e1a591d5dd47d570827b46de8b4 100644
|
| --- a/components/scheduler/base/task_queue_impl.h
|
| +++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.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_RENDERER_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_
|
| -#define CONTENT_RENDERER_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_
|
| +#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_
|
| +#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_
|
|
|
| #include <stddef.h>
|
|
|
| @@ -15,10 +15,10 @@
|
| #include "base/threading/thread_checker.h"
|
| #include "base/trace_event/trace_event.h"
|
| #include "base/trace_event/trace_event_argument.h"
|
| -#include "components/scheduler/base/enqueue_order.h"
|
| -#include "components/scheduler/base/task_queue.h"
|
| -#include "components/scheduler/scheduler_export.h"
|
| +#include "platform/scheduler/base/enqueue_order.h"
|
| +#include "public/platform/scheduler/base/task_queue.h"
|
|
|
| +namespace blink {
|
| namespace scheduler {
|
| class LazyNow;
|
| class TimeDomain;
|
| @@ -28,7 +28,7 @@ namespace internal {
|
| class WorkQueue;
|
| class WorkQueueSets;
|
|
|
| -class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue {
|
| +class BLINK_PLATFORM_EXPORT TaskQueueImpl final : public TaskQueue {
|
| public:
|
| TaskQueueImpl(TaskQueueManager* task_queue_manager,
|
| TimeDomain* time_domain,
|
| @@ -36,7 +36,7 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue {
|
| const char* disabled_by_default_tracing_category,
|
| const char* disabled_by_default_verbose_tracing_category);
|
|
|
| - class SCHEDULER_EXPORT Task : public base::PendingTask {
|
| + class BLINK_PLATFORM_EXPORT Task : public base::PendingTask {
|
| public:
|
| Task();
|
| Task(const tracked_objects::Location& posted_from,
|
| @@ -124,9 +124,7 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue {
|
| void AsValueInto(base::trace_event::TracedValue* state) const;
|
|
|
| bool GetQuiescenceMonitored() const { return should_monitor_quiescence_; }
|
| - bool GetShouldNotifyObservers() const {
|
| - return should_notify_observers_;
|
| - }
|
| + bool GetShouldNotifyObservers() const { return should_notify_observers_; }
|
|
|
| void NotifyWillProcessTask(const base::PendingTask& pending_task);
|
| void NotifyDidProcessTask(const base::PendingTask& pending_task);
|
| @@ -305,5 +303,6 @@ class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue {
|
|
|
| } // namespace internal
|
| } // namespace scheduler
|
| +} // namespace blink
|
|
|
| -#endif // CONTENT_RENDERER_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_
|
| +#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_TASK_QUEUE_IMPL_H_
|
|
|