diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 06:04:12 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 06:04:12 +0000 |
commit | 57d2dfa3c2de8b33fc5ca2555897f70c8c769429 (patch) | |
tree | 841fd25d0ed79b34cbde5a7438ba52d33a542c22 /net/http/http_proxy_client_socket.h | |
parent | 5225cdaa6b88b35a663f2b8fec47e921959b087f (diff) | |
download | chromium_src-57d2dfa3c2de8b33fc5ca2555897f70c8c769429.zip chromium_src-57d2dfa3c2de8b33fc5ca2555897f70c8c769429.tar.gz chromium_src-57d2dfa3c2de8b33fc5ca2555897f70c8c769429.tar.bz2 |
Use a dummy HttpStream for proxy redirects
We synthesize the response headers and ignore the body anyway, so there's
no point to using a real one.
This lets us avoid having to call SetDelegate() twice on a SpdyStream,
so remove support for that.
BUG=252433
Review URL: https://chromiumcodereview.appspot.com/17068018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_proxy_client_socket.h')
-rw-r--r-- | net/http/http_proxy_client_socket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h index 6cab666..fca054f 100644 --- a/net/http/http_proxy_client_socket.h +++ b/net/http/http_proxy_client_socket.h @@ -11,6 +11,7 @@ #include "base/memory/ref_counted.h" #include "net/base/completion_callback.h" #include "net/base/host_port_pair.h" +#include "net/base/load_timing_info.h" #include "net/base/net_log.h" #include "net/http/http_auth_controller.h" #include "net/http/http_request_headers.h" @@ -158,6 +159,10 @@ class HttpProxyClientSocket : public ProxyClientSocket { std::string request_line_; HttpRequestHeaders request_headers_; + // Used only for redirects. + bool redirect_has_load_timing_info_; + LoadTimingInfo redirect_load_timing_info_; + const BoundNetLog net_log_; DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); |