Chromium Code Reviews| 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 72a3e189e3049825a6a3621c558bfaab13f5455d..05ec7493e6522eedb88d2b4a4d8aa7ab481725ae 100644 |
| --- a/third_party/WebKit/public/platform/Platform.h |
| +++ b/third_party/WebKit/public/platform/Platform.h |
| @@ -119,6 +119,7 @@ class WebThread; |
| class WebTrialTokenValidator; |
| class WebURL; |
| class WebURLLoader; |
| +class WebURLResponse; |
| class WebUnitTestSupport; |
| struct WebLocalizedString; |
| struct WebSize; |
| @@ -321,6 +322,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; } |
|
jochen (gone - plz use gerrit)
2016/03/04 12:30:34
should this be a WebVector (bytes)?
yhirano
2016/03/04 18:30:30
Making (const char*, size_t) a WebVector needs mem
|
| + |
| // Plugins ------------------------------------------------------------- |
| // If refresh is true, then cached information should not be used to |