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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.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_sets.h
diff --git a/components/scheduler/base/work_queue_sets.h b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h
similarity index 79%
rename from components/scheduler/base/work_queue_sets.h
rename to third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.h
index 0c2c2dcf2c15c939162a07b94e12f82de8f4bf78..1dd0fcfe4e49ea8eec487772b1c99a648aa490b2 100644
--- a/components/scheduler/base/work_queue_sets.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.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_WORK_QUEUE_SETS_H_
-#define COMPONENTS_SCHEDULER_BASE_WORK_QUEUE_SETS_H_
+#ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_WORK_QUEUE_SETS_H_
+#define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_WORK_QUEUE_SETS_H_
#include <stddef.h>
@@ -13,14 +13,15 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/trace_event/trace_event_argument.h"
-#include "components/scheduler/base/task_queue_impl.h"
-#include "components/scheduler/scheduler_export.h"
+#include "platform/scheduler/base/task_queue_impl.h"
+#include "public/platform/WebCommon.h"
+namespace blink {
namespace scheduler {
namespace internal {
class TaskQueueImpl;
-class SCHEDULER_EXPORT WorkQueueSets {
+class BLINK_PLATFORM_EXPORT WorkQueueSets {
public:
WorkQueueSets(size_t num_sets, const char* name);
~WorkQueueSets();
@@ -64,5 +65,6 @@ class SCHEDULER_EXPORT WorkQueueSets {
} // namespace internal
} // namespace scheduler
+} // namespace blink
-#endif // COMPONENTS_SCHEDULER_BASE_WORK_QUEUE_SETS_H_
+#endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_BASE_WORK_QUEUE_SETS_H_

Powered by Google App Engine
This is Rietveld 408576698