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

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

Issue 2799093004: Enable ServerTiming support
Patch Set: update code formatting and comments Created 3 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/PerformanceEntry.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
index a67298e6158244bb23a65e9fd373a4889b71fe58..047db8a810e649073165e224f787944af585eba3 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
@@ -83,6 +83,8 @@ PerformanceEntry::EntryType PerformanceEntry::toEntryTypeEnum(
return TaskAttribution;
if (entryType == "paint")
return Paint;
+ if (entryType == "server")
+ return Server;
return Invalid;
}

Powered by Google App Engine
This is Rietveld 408576698