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

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: disable more checks Created 3 years, 8 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 dcd13fed871e0f59bc0b759081f588dcdee32b84..6317ead4261305cf601dd92608c2c9340394f9b4 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 "public/platform/WebCommon.h"
@@ -26,11 +26,10 @@ class BLINK_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