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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceTiming.h

Issue 1871393002: Add NavigationToFirstContentfulPaint UMA for ServiceWorker controlled pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated ksakamoto's comment 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/core/timing/PerformanceTiming.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceTiming.h b/third_party/WebKit/Source/core/timing/PerformanceTiming.h
index 2ebabc96d7bf309234513cf561993ad3ac15b515..5893c8a38e6af276074ebd0462be503886bfae02 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceTiming.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceTiming.h
@@ -79,6 +79,10 @@ public:
unsigned long long loadEventStart() const;
unsigned long long loadEventEnd() const;
+ // TODO(ksakamoto): This is a Navigation Timing Level 2's attribute and not
+ // exposed to JS currently. https://crbug.com/504237
+ unsigned long long workerStart() const;
+
// The below are non-spec timings, for Page Load UMA metrics.
// The time the first document layout is performed.

Powered by Google App Engine
This is Rietveld 408576698