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 a4b9fe7197665adc56bcd28af255c58fea89f871..9612f0b982181a4afb3ea1d5cc0df7754912e821 100644 |
| --- a/third_party/WebKit/public/platform/Platform.h |
| +++ b/third_party/WebKit/public/platform/Platform.h |
| @@ -115,6 +115,7 @@ class WebThread; |
| class WebTrialTokenValidator; |
| class WebURL; |
| class WebURLLoader; |
| +class WebURLResponse; |
| class WebUnitTestSupport; |
| struct WebLocalizedString; |
| struct WebSize; |
| @@ -317,6 +318,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 parseAdditionalHeaders(const char* bytes, size_t /* size */, WebURLResponse*, size_t* end) const { return false; } |
|
Nate Chapin
2016/02/25 21:48:29
Perhaps this should be named a bit more specifical
yhirano
2016/02/26 22:21:51
Done.
|
| + |
| // Plugins ------------------------------------------------------------- |
| // If refresh is true, then cached information should not be used to |