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

Unified Diff: net/socket_stream/socket_stream.h

Issue 10875022: [Do not check in.] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Simplify state transition Created 8 years, 4 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 | « chrome/test/data/http/tests/ws.html ('k') | net/socket_stream/socket_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket_stream/socket_stream.h
===================================================================
--- net/socket_stream/socket_stream.h (revision 152801)
+++ net/socket_stream/socket_stream.h (working copy)
@@ -19,9 +19,6 @@
#include "net/base/net_log.h"
#include "net/base/net_errors.h"
#include "net/base/ssl_config_service.h"
-#include "net/http/http_auth.h"
-#include "net/http/http_auth_cache.h"
-#include "net/http/http_auth_handler.h"
#include "net/proxy/proxy_service.h"
#include "net/socket/tcp_client_socket.h"
#include "net/url_request/url_request.h"
@@ -33,7 +30,7 @@
class ClientSocketFactory;
class CookieOptions;
class HostResolver;
-class HttpAuthHandlerFactory;
+class HttpAuthController;
class SSLConfigService;
class SSLInfo;
class SingleRequestHostResolver;
@@ -230,6 +227,8 @@
STATE_RESOLVE_PROTOCOL_COMPLETE,
STATE_TCP_CONNECT,
STATE_TCP_CONNECT_COMPLETE,
+ STATE_GENERATE_PROXY_AUTH_TOKEN,
+ STATE_GENERATE_PROXY_AUTH_TOKEN_COMPLETE,
STATE_WRITE_TUNNEL_HEADERS,
STATE_WRITE_TUNNEL_HEADERS_COMPLETE,
STATE_READ_TUNNEL_HEADERS,
@@ -288,6 +287,8 @@
int DoResolveProtocolComplete(int result);
int DoTcpConnect(int result);
int DoTcpConnectComplete(int result);
+ int DoGenerateProxyAuthToken();
+ int DoGenerateProxyAuthTokenComplete(int result);
int DoWriteTunnelHeaders();
int DoWriteTunnelHeadersComplete(int result);
int DoReadTunnelHeaders();
@@ -328,7 +329,6 @@
HostResolver* host_resolver_;
CertVerifier* cert_verifier_;
ServerBoundCertService* server_bound_cert_service_;
- HttpAuthHandlerFactory* http_auth_handler_factory_;
ClientSocketFactory* factory_;
ProxyMode proxy_mode_;
@@ -337,10 +337,7 @@
ProxyService::PacRequest* pac_request_;
ProxyInfo proxy_info_;
- HttpAuthCache auth_cache_;
- scoped_ptr<HttpAuthHandler> auth_handler_;
- HttpAuth::Identity auth_identity_;
- scoped_refptr<AuthChallengeInfo> auth_info_;
+ scoped_refptr<HttpAuthController> proxy_auth_controller_;
scoped_refptr<RequestHeaders> tunnel_request_headers_;
size_t tunnel_request_headers_bytes_sent_;
« no previous file with comments | « chrome/test/data/http/tests/ws.html ('k') | net/socket_stream/socket_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698