Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: net/spdy/spdy_proxy_client_socket.h

Issue 1391053002: [net/http auth] Make HttpAuthHandler challenge handling asynchronous. Base URL: https://chromium.googlesource.com/chromium/src.git@auth-handler-init-split
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/log/net_log_event_type_list.h ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_proxy_client_socket.h
diff --git a/net/spdy/spdy_proxy_client_socket.h b/net/spdy/spdy_proxy_client_socket.h
index af38767eab977c2f7de91b123c5763723f038268..ce26c1432d2e85a316510dddf731b9beb615e220 100644
--- a/net/spdy/spdy_proxy_client_socket.h
+++ b/net/spdy/spdy_proxy_client_socket.h
@@ -106,6 +106,8 @@ class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket,
STATE_SEND_REQUEST,
STATE_SEND_REQUEST_COMPLETE,
STATE_READ_REPLY_COMPLETE,
+ STATE_HANDLE_PROXY_AUTH_CHALLENGE,
+ STATE_HANDLE_PROXY_AUTH_CHALLENGE_COMPLETE,
STATE_OPEN,
STATE_CLOSED
};
@@ -124,6 +126,8 @@ class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket,
int DoSendRequest();
int DoSendRequestComplete(int result);
int DoReadReplyComplete(int result);
+ int DoHandleProxyAuthChallenge();
+ int DoHandleProxyAuthChallengeComplete(int result);
// Populates |user_buffer_| with as much read data as possible
// and returns the number of bytes read.
« no previous file with comments | « net/log/net_log_event_type_list.h ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698