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

Unified Diff: third_party/WebKit/Source/web/WebPerformance.cpp

Issue 1871393002: Add NavigationToFirstContentfulPaint UMA for ServiceWorker controlled pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/web/WebPerformance.cpp
diff --git a/third_party/WebKit/Source/web/WebPerformance.cpp b/third_party/WebKit/Source/web/WebPerformance.cpp
index baeb02c2f1b8d43c9dadf499609be88184a5c3bb..b34aeb0978482223213b15fa027491845c6de6b3 100644
--- a/third_party/WebKit/Source/web/WebPerformance.cpp
+++ b/third_party/WebKit/Source/web/WebPerformance.cpp
@@ -75,6 +75,11 @@ double WebPerformance::unloadEventEnd() const
return millisecondsToSeconds(m_private->timing()->unloadEventEnd());
}
+double WebPerformance::workerStart() const
+{
+ return millisecondsToSeconds(m_private->timing()->workerStart());
+}
+
double WebPerformance::redirectStart() const
{
return millisecondsToSeconds(m_private->timing()->redirectStart());

Powered by Google App Engine
This is Rietveld 408576698