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 a4941d8d1d6010c285d6f726ebd0e097680f2583..e2b4b42a599ab215cef91ceab919fdb9b73e7ead 100644 |
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.h |
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.h |
@@ -43,6 +43,7 @@ |
namespace blink { |
+class HTTPHeaderMap; |
class Suborigin; |
class ResourceResponse; |
@@ -155,6 +156,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* headerFields, |
+ 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*, |