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 c2d33f75da5192b3d59ff16c0263729e28b74d10..775cf1eaba545b17c2a41382ec62e9ee40aace83 100644 |
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.h |
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.h |
@@ -44,6 +44,7 @@ |
namespace blink { |
+class HTTPHeaderMap; |
class Suborigin; |
class ResourceResponse; |
@@ -137,6 +138,14 @@ ParseContentTypeOptionsHeader(const String& header); |
// Returns true and stores the position of the end of the headers to |*end| |
// if the headers part ends in |bytes[0..size]|. Returns false otherwise. |
+PLATFORM_EXPORT bool ParseMultipartFormHeadersFromBody( |
+ const char* bytes, |
+ size_t, |
+ HTTPHeaderMap* header_fields, |
+ size_t* end); |
+ |
+// Returns true and stores the position of the end of the headers to |*end| |
+// if the headers part ends in |bytes[0..size]|. Returns false otherwise. |
PLATFORM_EXPORT bool ParseMultipartHeadersFromBody(const char* bytes, |
size_t, |
ResourceResponse*, |