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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/webthread_impl_for_worker_scheduler.cc

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/child/webthread_impl_for_worker_scheduler.cc
diff --git a/components/scheduler/child/webthread_impl_for_worker_scheduler.cc b/third_party/WebKit/Source/platform/scheduler/child/webthread_impl_for_worker_scheduler.cc
similarity index 90%
rename from components/scheduler/child/webthread_impl_for_worker_scheduler.cc
rename to third_party/WebKit/Source/platform/scheduler/child/webthread_impl_for_worker_scheduler.cc
index ff7ec336f000ab9190110b28d92959c34a35a4b1..029929795e71380fa1a528ebddc6b045148cb955 100644
--- a/components/scheduler/child/webthread_impl_for_worker_scheduler.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/webthread_impl_for_worker_scheduler.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/scheduler/child/webthread_impl_for_worker_scheduler.h"
+#include "public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h"
#include "base/bind.h"
#include "base/location.h"
@@ -10,13 +10,14 @@
#include "base/single_thread_task_runner.h"
#include "base/synchronization/waitable_event.h"
#include "base/time/default_tick_clock.h"
-#include "components/scheduler/base/task_queue.h"
-#include "components/scheduler/child/scheduler_tqm_delegate_impl.h"
-#include "components/scheduler/child/web_scheduler_impl.h"
-#include "components/scheduler/child/web_task_runner_impl.h"
-#include "components/scheduler/child/worker_scheduler_impl.h"
-#include "third_party/WebKit/public/platform/WebTraceLocation.h"
-
+#include "public/platform/scheduler/base/task_queue.h"
+#include "platform/scheduler/child/scheduler_tqm_delegate_impl.h"
+#include "platform/scheduler/child/web_scheduler_impl.h"
+#include "platform/scheduler/child/web_task_runner_impl.h"
+#include "platform/scheduler/child/worker_scheduler_impl.h"
+#include "public/platform/WebTraceLocation.h"
+
+namespace blink {
namespace scheduler {
WebThreadImplForWorkerScheduler::WebThreadImplForWorkerScheduler(
@@ -127,3 +128,4 @@ void WebThreadImplForWorkerScheduler::RemoveTaskObserverInternal(
}
} // namespace scheduler
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698