| 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 023d7d772102d9165e052a5231d0ff6deb4810f2..f042dcfa6dc49438606154a4c1836ba14c8d31c7 100644
|
| --- a/third_party/WebKit/Source/platform/network/HTTPParsers.h
|
| +++ b/third_party/WebKit/Source/platform/network/HTTPParsers.h
|
| @@ -88,6 +88,17 @@ struct CacheControlHeader {
|
| max_age(0.0) {}
|
| };
|
|
|
| +struct ServerTimingHeader {
|
| + String metric;
|
| + double duration;
|
| + String description;
|
| +
|
| + ServerTimingHeader(String metric, double duration, String description)
|
| + : metric(metric), duration(duration), description(description) {}
|
| +};
|
| +
|
| +using ServerTimingHeaderVector = Vector<std::unique_ptr<ServerTimingHeader>>;
|
| +
|
| PLATFORM_EXPORT ContentDispositionType GetContentDispositionType(const String&);
|
| PLATFORM_EXPORT bool IsValidHTTPHeaderValue(const String&);
|
| PLATFORM_EXPORT bool IsValidHTTPFieldContentRFC7230(const String&);
|
| @@ -169,6 +180,11 @@ PLATFORM_EXPORT bool ParseContentRangeHeaderFor206(const String& content_range,
|
| int64_t* last_byte_position,
|
| int64_t* instance_length);
|
|
|
| +PLATFORM_EXPORT std::unique_ptr<ServerTimingHeaderVector>
|
| +ParseServerTimingHeader(const String&);
|
| +
|
| +PLATFORM_EXPORT String CheckDoubleQuotedString(const String&);
|
| +
|
| } // namespace blink
|
|
|
| #endif
|
|
|