Index: third_party/WebKit/public/platform/WebURLResponse.h |
diff --git a/third_party/WebKit/public/platform/WebURLResponse.h b/third_party/WebKit/public/platform/WebURLResponse.h |
index e413cfed6ba3ee2604f632ad78dc38f26b3e1f40..4157f5376b480845b55f3dfad0a458b08a1a6e1e 100644 |
--- a/third_party/WebKit/public/platform/WebURLResponse.h |
+++ b/third_party/WebKit/public/platform/WebURLResponse.h |
@@ -291,6 +291,10 @@ class WebURLResponse { |
BLINK_PLATFORM_EXPORT unsigned short remotePort() const; |
BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); |
+ // Original size of the response before decompression. |
+ BLINK_PLATFORM_EXPORT long long encodedDataLength() const; |
+ BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long); |
+ |
// Original size of the response body before decompression. |
BLINK_PLATFORM_EXPORT long long encodedBodyLength() const; |
BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long); |
@@ -308,6 +312,8 @@ class WebURLResponse { |
BLINK_PLATFORM_EXPORT ExtraData* getExtraData() const; |
BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); |
+ BLINK_PLATFORM_EXPORT void appendRedirectResponse(const WebURLResponse&); |
+ |
#if INSIDE_BLINK |
protected: |
// Permit subclasses to set arbitrary ResourceResponse pointer as |