Index: third_party/WebKit/Source/platform/network/ResourceResponse.h |
diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.h b/third_party/WebKit/Source/platform/network/ResourceResponse.h |
index f98a6e7e75b61ef311b3b061a2643ad1d057aaf6..42da94bbbaa25c69c2072b0d2af27b8caca6a67c 100644 |
--- a/third_party/WebKit/Source/platform/network/ResourceResponse.h |
+++ b/third_party/WebKit/Source/platform/network/ResourceResponse.h |
@@ -278,11 +278,14 @@ public: |
unsigned short remotePort() const { return m_remotePort; } |
void setRemotePort(unsigned short value) { m_remotePort = value; } |
+ long long encodedDataLength() const { return m_encodedDataLength; } |
+ void addToEncodedDataLength(long long value); |
+ |
long long encodedBodyLength() const { return m_encodedBodyLength; } |
- void addToEncodedBodyLength(int value); |
+ void addToEncodedBodyLength(long long value); |
long long decodedBodyLength() const { return m_decodedBodyLength; } |
- void addToDecodedBodyLength(int value); |
+ void addToDecodedBodyLength(long long value); |
const String& downloadedFilePath() const { return m_downloadedFilePath; } |
void setDownloadedFilePath(const String&); |
@@ -412,6 +415,9 @@ private: |
// Remote port number of the socket which fetched this resource. |
unsigned short m_remotePort; |
+ // Size of the response in bytes prior to decompression. |
+ long long m_encodedDataLength; |
+ |
// Size of the response body in bytes prior to decompression. |
long long m_encodedBodyLength; |
@@ -468,6 +474,7 @@ public: |
int64_t m_responseTime; |
String m_remoteIPAddress; |
unsigned short m_remotePort; |
+ long long m_encodedDataLength; |
long long m_encodedBodyLength; |
long long m_decodedBodyLength; |
String m_downloadedFilePath; |