Chromium Code Reviews| Index: net/url_request/url_request.h |
| diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
| index 005ae29d2cbc2627e869c4f65e99ba52393d5941..860d7e9c00c3f8732d8ba73b04502e986ff00506 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 request. |
|
mmenke
2016/07/21 18:10:50
It's unclear what "raw header size" means. You sh
mmenke
2016/07/21 18:47:02
Actually, I think with H2/QUIC, it may be able to
allada
2016/07/22 17:19:32
This property contains the value of the size in by
mmenke
2016/07/22 18:50:09
Hrm...Digging into HttpStreamParser, it looks like
|
| + 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 request. |
| + int raw_header_size_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(URLRequest); |
| }; |