Index: net/http/http_proxy_client_socket.h |
=================================================================== |
--- net/http/http_proxy_client_socket.h (revision 108933) |
+++ net/http/http_proxy_client_socket.h (working copy) |
@@ -51,15 +51,6 @@ |
// On destruction Disconnect() is called. |
virtual ~HttpProxyClientSocket(); |
- // If Connect (or its callback) returns PROXY_AUTH_REQUESTED, then |
- // credentials should be added to the HttpAuthController before calling |
- // RestartWithAuth. |
- int RestartWithAuth(OldCompletionCallback* callback); |
- |
- const scoped_refptr<HttpAuthController>& auth_controller() { |
- return auth_; |
- } |
- |
bool using_spdy() { |
return using_spdy_; |
} |
@@ -67,6 +58,8 @@ |
// ProxyClientSocket methods: |
virtual const HttpResponseInfo* GetConnectResponseInfo() const; |
virtual HttpStream* CreateConnectResponseStream(); |
+ virtual int RestartWithAuth(OldCompletionCallback* callback); |
+ virtual const scoped_refptr<HttpAuthController>& auth_controller(); |
// StreamSocket methods: |
virtual int Connect(OldCompletionCallback* callback); |
@@ -100,8 +93,6 @@ |
STATE_READ_HEADERS_COMPLETE, |
STATE_DRAIN_BODY, |
STATE_DRAIN_BODY_COMPLETE, |
- STATE_TCP_RESTART, |
- STATE_TCP_RESTART_COMPLETE, |
STATE_DONE, |
}; |
@@ -129,8 +120,6 @@ |
int DoReadHeadersComplete(int result); |
int DoDrainBody(); |
int DoDrainBodyComplete(int result); |
- int DoTCPRestart(); |
- int DoTCPRestartComplete(int result); |
OldCompletionCallbackImpl<HttpProxyClientSocket> io_callback_; |
State next_state_; |