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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceEntry.cpp

Issue 2472583003: Navigation Timing Level 2 (Closed)
Patch Set: fixed layout tests failure Created 4 years, 1 month 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/PerformanceEntry.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
index 5665ef1c1661d10f61cdc02995455a1a94ebf9ff..e4249a39578927c964f8a829f6a3eb08b5bef828 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
@@ -77,6 +77,8 @@ PerformanceEntry::EntryType PerformanceEntry::toEntryTypeEnum(
return Render;
if (entryType == "resource")
return Resource;
+ if (entryType == "navigation")
+ return Navigation;
return Invalid;
}

Powered by Google App Engine
This is Rietveld 408576698