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-11-21 04:39:03 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 04:39:03 +0000
commit4401ae8df7114cc9be65c1f6675893362953c020 (patch)
tree28512ae96a6bc26297cc8e539078c93928a6bfef /net/http/proxy_client_socket.h
parente84e6956fca7f37a25713059ee2a09ae7b65ff23 (diff)
downloadchromium_src-4401ae8df7114cc9be65c1f6675893362953c020.zip
chromium_src-4401ae8df7114cc9be65c1f6675893362953c020.tar.gz
chromium_src-4401ae8df7114cc9be65c1f6675893362953c020.tar.bz2
Revert 110879 - 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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110529 Review URL: http://codereview.chromium.org/8502024 TBR=rch@chromium.org Review URL: http://codereview.chromium.org/8609006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110880 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);
};