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

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

Issue 2818533003: Make nesting/running states a RunLoop rather than a MessageLoop concept. (Closed)
Patch Set: still need to check MessageLoop::current() in Mojo's RunLoopNestingObserver::GetForThread() Created 3 years, 7 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/task_queue_manager_delegate.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate.h
index 988a24eaa49d9de32f11848077f54f55b70d0809..5d2dc5a0adc0fe7b57dc8e172c3128f72388cd24 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_delegate.h
@@ -7,7 +7,7 @@
#include "base/callback.h"
#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/time/tick_clock.h"
#include "platform/PlatformExport.h"
@@ -26,11 +26,10 @@ class PLATFORM_EXPORT TaskQueueManagerDelegate
// A NestingObserver is notified when a nested message loop begins. The
// observers are notified before the first task is processed.
- virtual void AddNestingObserver(
- base::MessageLoop::NestingObserver* observer) = 0;
+ virtual void AddNestingObserver(base::RunLoop::NestingObserver* observer) = 0;
virtual void RemoveNestingObserver(
- base::MessageLoop::NestingObserver* observer) = 0;
+ base::RunLoop::NestingObserver* observer) = 0;
protected:
~TaskQueueManagerDelegate() override {}

Powered by Google App Engine
This is Rietveld 408576698