Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index 30192bf145d0968dd520164b51220c873edd4c54..552f2dd8e874800cbef52ab555894a18d09ac3b1 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -120,6 +120,7 @@ class WebThread; |
class WebTrialTokenValidator; |
class WebURL; |
class WebURLLoader; |
+class WebURLResponse; |
class WebUnitTestSupport; |
struct WebLocalizedString; |
struct WebSize; |
@@ -322,6 +323,10 @@ public: |
virtual bool portAllowed(const WebURL&) const { return false; } |
+ // 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. |
+ virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size */, WebURLResponse*, size_t* end) const { return false; } |
+ |
// Plugins ------------------------------------------------------------- |
// If refresh is true, then cached information should not be used to |