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

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

Issue 2839683003: Server-Timing (Closed)
Patch Set: make those robots happy, attempt #4 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 25edb5e77bd7e404a4bbef0e56ba755e2993acfd..9afabfbc8518eb4fa00ea17937058f79fbd34aee 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 kTaskAttribution;
if (entry_type == "paint")
return kPaint;
+ if (entry_type == "server")
+ return kServer;
return kInvalid;
}

Powered by Google App Engine
This is Rietveld 408576698