Index: net/http/http_network_transaction.h |
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h |
index 7c32bd37f1648ddb21f79e4cf7f6fd2abbd1e8a1..8dc8b38fb46b82f795633ca563a55a2f0be8be05 100644 |
--- a/net/http/http_network_transaction.h |
+++ b/net/http/http_network_transaction.h |
@@ -83,6 +83,8 @@ class HttpNetworkTransaction : public HttpTransaction { |
STATE_RESOLVE_PROXY_COMPLETE, |
STATE_INIT_CONNECTION, |
STATE_INIT_CONNECTION_COMPLETE, |
+ STATE_RESTART_TUNNEL_AUTH, |
+ STATE_RESTART_TUNNEL_AUTH_COMPLETE, |
STATE_GENERATE_PROXY_AUTH_TOKEN, |
STATE_GENERATE_PROXY_AUTH_TOKEN_COMPLETE, |
STATE_GENERATE_SERVER_AUTH_TOKEN, |
@@ -126,6 +128,8 @@ class HttpNetworkTransaction : public HttpTransaction { |
int DoResolveProxyComplete(int result); |
int DoInitConnection(); |
int DoInitConnectionComplete(int result); |
+ int DoRestartTunnelAuth(); |
+ int DoRestartTunnelAuthComplete(int result); |
int DoGenerateProxyAuthToken(); |
int DoGenerateProxyAuthTokenComplete(int result); |
int DoGenerateServerAuthToken(); |
@@ -162,6 +166,9 @@ class HttpNetworkTransaction : public HttpTransaction { |
static void LogIOErrorMetrics(const ClientSocketHandle& handle); |
+ // Called to handle an HTTP proxy tunnel request for auth. |
+ int HandleTunnelAuthFailure(int error); |
+ |
// Called to handle a certificate error. Returns OK if the error should be |
// ignored. Otherwise, stores the certificate in response_.ssl_info and |
// returns the same error code. |