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

Side by Side Diff: third_party/WebKit/Source/platform/network/HTTPParsers.h

Issue 2889033002: Better header value parsing for Server-Timing. (Closed)
Patch Set: init duration as 0.0 Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Copyright (C) 2011 Apple Inc. All Rights Reserved. 4 * Copyright (C) 2011 Apple Inc. All Rights Reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // |*instance_length| = size in bytes of the object requested 178 // |*instance_length| = size in bytes of the object requested
179 // If this method returns false, then all of the outputs will be -1. 179 // If this method returns false, then all of the outputs will be -1.
180 PLATFORM_EXPORT bool ParseContentRangeHeaderFor206(const String& content_range, 180 PLATFORM_EXPORT bool ParseContentRangeHeaderFor206(const String& content_range,
181 int64_t* first_byte_position, 181 int64_t* first_byte_position,
182 int64_t* last_byte_position, 182 int64_t* last_byte_position,
183 int64_t* instance_length); 183 int64_t* instance_length);
184 184
185 PLATFORM_EXPORT std::unique_ptr<ServerTimingHeaderVector> 185 PLATFORM_EXPORT std::unique_ptr<ServerTimingHeaderVector>
186 ParseServerTimingHeader(const String&); 186 ParseServerTimingHeader(const String&);
187 187
188 PLATFORM_EXPORT String CheckDoubleQuotedString(const String&); 188 using Mode = blink::ParsedContentType::Mode;
189 189
190 } // namespace blink 190 } // namespace blink
191 191
192 #endif 192 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698