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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/work_queue.h

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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: third_party/WebKit/Source/platform/scheduler/base/work_queue.h
diff --git a/components/scheduler/base/work_queue.h b/third_party/WebKit/Source/platform/scheduler/base/work_queue.h
similarity index 88%
rename from components/scheduler/base/work_queue.h
rename to third_party/WebKit/Source/platform/scheduler/base/work_queue.h
index c97c34c6a5910bf9f82f4fc6135d2f604a0cfa60..977c27fda7ab0ab40c4363a464017913b5e5c371 100644
--- a/components/scheduler/base/work_queue.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/work_queue.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_WORK_QUEUE_H_
-#define CONTENT_RENDERER_SCHEDULER_BASE_WORK_QUEUE_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_WORK_QUEUE_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_WORK_QUEUE_H_
#include <stddef.h>
@@ -11,15 +11,15 @@
#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_impl.h"
-#include "components/scheduler/scheduler_export.h"
+#include "platform/scheduler/base/enqueue_order.h"
+#include "platform/scheduler/base/task_queue_impl.h"
+namespace blink {
namespace scheduler {
namespace internal {
class WorkQueueSets;
-class SCHEDULER_EXPORT WorkQueue {
+class BLINK_PLATFORM_EXPORT WorkQueue {
public:
WorkQueue(TaskQueueImpl* task_queue, const char* name);
~WorkQueue();
@@ -94,5 +94,6 @@ class SCHEDULER_EXPORT WorkQueue {
} // namespace internal
} // namespace scheduler
+} // namespace blink
-#endif // CONTENT_RENDERER_SCHEDULER_BASE_WORK_QUEUE_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_WORK_QUEUE_H_

Powered by Google App Engine
This is Rietveld 408576698