Index: net/url_request/url_request.h |
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
index 73e02d99c8710171d0c83c780eafabdcd1097645..056e32d0a7b98d75fc8812e4faec50abdcc0c40c 100644 |
--- a/net/url_request/url_request.h |
+++ b/net/url_request/url_request.h |
@@ -648,6 +648,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), |
// or after the response headers are received. |
void GetConnectionAttempts(ConnectionAttempts* out) const; |
+ // Gets the raw header size of the response. |
mmenke
2016/09/06 18:55:00
Worth explicitly calling out what this means? (So
allada
2016/09/07 06:01:12
Done.
|
+ int raw_header_size() const { return raw_header_size_; } |
+ |
protected: |
// Allow the URLRequestJob class to control the is_pending() flag. |
void set_is_pending(bool value) { is_pending_ = value; } |
@@ -848,6 +851,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), |
// The proxy server used for this request, if any. |
HostPortPair proxy_server_; |
+ // The raw header size of the response. |
+ int raw_header_size_; |
+ |
DISALLOW_COPY_AND_ASSIGN(URLRequest); |
}; |