Index: net/http/http_proxy_client_socket.h |
diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h |
index 692cc19e5a98a5bd198c476c440a595cd2ab5026..61e81581ccc77a8323483164a979c8b46f647a25 100644 |
--- a/net/http/http_proxy_client_socket.h |
+++ b/net/http/http_proxy_client_socket.h |
@@ -45,6 +45,10 @@ class HttpProxyClientSocket : public ClientSocket { |
// RestartWithAuth. |
int RestartWithAuth(CompletionCallback* callback); |
+ // Indicates if RestartWithAuth needs to be called. i.e. if Connect |
+ // returned PROXY_AUTH_REQUESTED. Only valid after Connect has been called. |
+ bool NeedsRestartWithAuth() const; |
+ |
const HttpResponseInfo* GetResponseInfo() const { |
return response_.headers ? &response_ : NULL; |
} |