summaryrefslogtreecommitdiffstats
path: root/net/http/http_proxy_client_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_proxy_client_socket.h')
-rw-r--r--net/http/http_proxy_client_socket.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h
index 488fbdc..adfcc11 100644
--- a/net/http/http_proxy_client_socket.h
+++ b/net/http/http_proxy_client_socket.h
@@ -39,7 +39,8 @@ class HttpProxyClientSocket : public ClientSocket {
const HostPortPair& endpoint,
const HostPortPair& proxy_server,
const scoped_refptr<HttpNetworkSession>& session,
- bool tunnel);
+ bool tunnel,
+ bool using_spdy);
// On destruction Disconnect() is called.
virtual ~HttpProxyClientSocket();
@@ -57,6 +58,10 @@ class HttpProxyClientSocket : public ClientSocket {
return auth_;
}
+ bool using_spdy() {
+ return using_spdy_;
+ }
+
// ClientSocket methods:
// Authenticates to the Http Proxy and then passes data freely.
@@ -140,6 +145,8 @@ class HttpProxyClientSocket : public ClientSocket {
const HostPortPair endpoint_;
scoped_refptr<HttpAuthController> auth_;
const bool tunnel_;
+ // If true, then the connection to the proxy is a SPDY connection.
+ const bool using_spdy_;
std::string request_headers_;