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

Unified Diff: third_party/WebKit/Source/platform/scheduler/utility/webthread_impl_for_utility_thread.cc

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another GYP fix Created 4 years, 5 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/utility/webthread_impl_for_utility_thread.cc
diff --git a/content/utility/webthread_impl_for_utility_thread.cc b/third_party/WebKit/Source/platform/scheduler/utility/webthread_impl_for_utility_thread.cc
similarity index 79%
rename from content/utility/webthread_impl_for_utility_thread.cc
rename to third_party/WebKit/Source/platform/scheduler/utility/webthread_impl_for_utility_thread.cc
index c949a74ca1763ffbe46ba2b23ce5a740671de553..3309dc02f3d4bbe7c4adc2bea8398f181c84ef78 100644
--- a/content/utility/webthread_impl_for_utility_thread.cc
+++ b/third_party/WebKit/Source/platform/scheduler/utility/webthread_impl_for_utility_thread.cc
@@ -2,19 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/utility/webthread_impl_for_utility_thread.h"
+#include "public/platform/scheduler/utility/webthread_impl_for_utility_thread.h"
#include "base/threading/thread_task_runner_handle.h"
-namespace content {
+namespace blink {
+namespace scheduler {
WebThreadImplForUtilityThread::WebThreadImplForUtilityThread()
: task_runner_(base::ThreadTaskRunnerHandle::Get()),
- thread_id_(base::PlatformThread::CurrentId()) {
-}
+ thread_id_(base::PlatformThread::CurrentId()) {}
-WebThreadImplForUtilityThread::~WebThreadImplForUtilityThread() {
-}
+WebThreadImplForUtilityThread::~WebThreadImplForUtilityThread() {}
blink::WebScheduler* WebThreadImplForUtilityThread::scheduler() const {
NOTIMPLEMENTED();
@@ -36,4 +35,5 @@ WebThreadImplForUtilityThread::GetIdleTaskRunner() const {
return nullptr;
}
-} // namespace content
+} // namespace scheduler
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698