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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.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/queueing_time_estimator.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h b/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h
index 4bdd47519f24d08654b5cddf229fe1b5fefe2b35..aea0e6bf6918903703fb1a7d4b974969e15d04f6 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.h
@@ -31,7 +31,7 @@ class PLATFORM_EXPORT QueueingTimeEstimator {
public:
void OnTopLevelTaskStarted(base::TimeTicks task_start_time);
void OnTopLevelTaskCompleted(Client* client, base::TimeTicks task_end_time);
- void OnBeginNestedMessageLoop();
+ void OnBeginNestedRunLoop();
base::TimeDelta current_expected_queueing_time;
base::TimeDelta window_duration;
@@ -48,7 +48,7 @@ class PLATFORM_EXPORT QueueingTimeEstimator {
void OnTopLevelTaskStarted(base::TimeTicks task_start_time);
void OnTopLevelTaskCompleted(base::TimeTicks task_end_time);
- void OnBeginNestedMessageLoop();
+ void OnBeginNestedRunLoop();
// Returns all state except for the current |client_|.
const State& GetState() const { return state_; }

Powered by Google App Engine
This is Rietveld 408576698