summaryrefslogtreecommitdiffstats
path: root/net/http/proxy_client_socket.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-14 17:33:18 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-14 17:33:18 +0000
commit76725780d66d25c47726974b7583f2dc521167e4 (patch)
treee589bd0080d96f37e4d8f84e0b74d02b4b550840 /net/http/proxy_client_socket.h
parenta9cfd1c266ecb2afa581fdb68b0e1d7cea55230d (diff)
downloadchromium_src-76725780d66d25c47726974b7583f2dc521167e4.zip
chromium_src-76725780d66d25c47726974b7583f2dc521167e4.tar.gz
chromium_src-76725780d66d25c47726974b7583f2dc521167e4.tar.bz2
Revert 110965 - Allow chrome to handle 407 auth challenges to CONNECT requests
through HTTPS Proxies. This also changes the mechanism used to restart HttpProxyClientSocket requests with auth. Previously the transport socket would be Disconnected, and then re-Connected (which was not implemented for SSLClientSockets). However, the approach was problematic in the face of, for example, ipv6. The new approach is to close the HttpProxyClientSocket, and request a new socket from the pool. Review URL: http://codereview.chromium.org/8912010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/proxy_client_socket.h')
-rw-r--r--net/http/proxy_client_socket.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/http/proxy_client_socket.h b/net/http/proxy_client_socket.h
index 1fd4f79..451e098 100644
--- a/net/http/proxy_client_socket.h
+++ b/net/http/proxy_client_socket.h
@@ -10,7 +10,6 @@
namespace net {
-class HttpAuthController;
class HttpStream;
class HttpResponseInfo;
@@ -27,15 +26,6 @@ class NET_EXPORT_PRIVATE ProxyClientSocket : public StreamSocket {
// which can be used to read the response body.
virtual HttpStream* CreateConnectResponseStream() = 0;
- // Returns the HttpAuthController which can be used
- // to interact with an HTTP Proxy Authorization Required (407) request.
- virtual const scoped_refptr<HttpAuthController>& auth_controller() = 0;
-
- // If Connect (or its callback) returns PROXY_AUTH_REQUESTED, then
- // credentials should be added to the HttpAuthController before calling
- // RestartWithAuth.
- virtual int RestartWithAuth(OldCompletionCallback* callback) = 0;
-
private:
DISALLOW_COPY_AND_ASSIGN(ProxyClientSocket);
};