diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-13 20:45:31 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-13 20:45:31 +0000 |
commit | 560c0431ae36b3c115aad89a014a5fcbb296f420 (patch) | |
tree | cc0ca213d15e01e8278988e9ace989624c8babdb /net/http/http_proxy_client_socket.h | |
parent | 64bff312f36572a45a331aab9d6e82e7c03a5d6d (diff) | |
download | chromium_src-560c0431ae36b3c115aad89a014a5fcbb296f420.zip chromium_src-560c0431ae36b3c115aad89a014a5fcbb296f420.tar.gz chromium_src-560c0431ae36b3c115aad89a014a5fcbb296f420.tar.bz2 |
Remove |net_log_| as a class member and pass it in where needed and a little cleanup.
BUG=42795
TEST=existing unit tests
Review URL: http://codereview.chromium.org/2806052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52214 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 | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h index 4870f0c..692cc19e 100644 --- a/net/http/http_proxy_client_socket.h +++ b/net/http/http_proxy_client_socket.h @@ -114,25 +114,24 @@ class HttpProxyClientSocket : public ClientSocket { // Stores the callback to the layer above, called on completing Connect(). CompletionCallback* user_callback_; - // Stores the underlying socket. - scoped_ptr<ClientSocketHandle> transport_; - - bool tunnel_; - - std::string request_headers_; - - scoped_ptr<HttpStream> http_stream_; HttpRequestInfo request_; HttpResponseInfo response_; - const scoped_refptr<HttpAuthController> auth_; + + scoped_ptr<HttpStream> http_stream_; + scoped_refptr<IOBuffer> drain_buf_; + + // Stores the underlying socket. + const scoped_ptr<ClientSocketHandle> transport_; // The hostname and port of the endpoint. This is not necessarily the one // specified by the URL, due to Alternate-Protocol or fixed testing ports. - HostPortPair endpoint_; + const HostPortPair endpoint_; + scoped_refptr<HttpAuthController> auth_; + const bool tunnel_; - scoped_refptr<IOBuffer> drain_buf_; + std::string request_headers_; - BoundNetLog net_log_; + const BoundNetLog net_log_; DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); }; |