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

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

Issue 2244813002: LongTaskTiming: add idl, Experiment flag, PerformanceEntry and basic implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge issue in flags Created 4 years, 4 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/PerformanceEntry.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
index 0812ee53e77f501ca58c8fcd632e8e8cb9da36aa..14e7cffae226a87cec195a99a904f530fb7fe538 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
@@ -72,6 +72,8 @@ PerformanceEntry::EntryType PerformanceEntry::toEntryTypeEnum(const String& entr
{
if (equalIgnoringCase(entryType, "composite"))
return Composite;
+ if (equalIgnoringCase(entryType, "longtask"))
+ return LongTask;
if (equalIgnoringCase(entryType, "mark"))
return Mark;
if (equalIgnoringCase(entryType, "measure"))

Powered by Google App Engine
This is Rietveld 408576698