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

Unified Diff: third_party/WebKit/Source/platform/network/HTTPParsers.h

Issue 2962113002: Updates to Server-Timing in accordance with with spec changes (Closed)
Patch Set: fix web-platform-tests Created 3 years, 5 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/platform/network/HTTPParsers.h
diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.h b/third_party/WebKit/Source/platform/network/HTTPParsers.h
index 3294bbdec2572c641132b309aa8e6facf80e319b..40fee8b3025516d2a577325ae77463ed27b2fbb6 100644
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.h
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.h
@@ -85,11 +85,11 @@ struct CacheControlHeader {
struct ServerTimingHeader {
String metric;
- double duration;
+ double value;
String description;
- ServerTimingHeader(String metric, double duration, String description)
- : metric(metric), duration(duration), description(description) {}
+ ServerTimingHeader(String metric, double value, String description)
+ : metric(metric), value(value), description(description) {}
};
using ServerTimingHeaderVector = Vector<std::unique_ptr<ServerTimingHeader>>;

Powered by Google App Engine
This is Rietveld 408576698