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

Unified Diff: third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h

Issue 2890173002: EQT: Record the max queueing time from navigation start to navigation away (Closed)
Patch Set: DEPS adjust 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/public/platform/scheduler/renderer/renderer_scheduler.h
diff --git a/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h b/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h
index 65b3f5ab4feb83e9a70f03f7ee2d9cf37c19e429..56a4b03431194d7be67cc7cddcf2ee4751fe8267 100644
--- a/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h
+++ b/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h
@@ -153,6 +153,8 @@ class BLINK_PLATFORM_EXPORT RendererScheduler : public ChildScheduler {
// Must be called from the main thread.
virtual void OnNavigationStarted() = 0;
+ virtual void OnCommitProvisionalLoad() = 0;
Charlie Reis 2017/06/02 22:38:37 This needs a comment, especially for how it differ
Liquan (Max) Gu 2017/06/02 23:32:06 I am not sure about what "Commit Provisional Load"
Charlie Reis 2017/06/05 05:02:34 No, sorry, I think that's more confusing. I think
Liquan (Max) Gu 2017/06/05 16:15:56 Thanks!
+
// Returns true if the scheduler has reason to believe that high priority work
// may soon arrive on the main thread, e.g., if gesture events were observed
// recently.

Powered by Google App Engine
This is Rietveld 408576698