diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 16:38:58 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 16:38:58 +0000 |
commit | 697ef4c118a291ca473a3defdb66b55b2e0f30c8 (patch) | |
tree | f4e3b927a401885de0366c938a46c835a8716e0e /net/http/http_basic_stream.h | |
parent | 7a4cdac40d2cd8be44ea842a5240ffbb6665eadd (diff) | |
download | chromium_src-697ef4c118a291ca473a3defdb66b55b2e0f30c8.zip chromium_src-697ef4c118a291ca473a3defdb66b55b2e0f30c8.tar.gz chromium_src-697ef4c118a291ca473a3defdb66b55b2e0f30c8.tar.bz2 |
Add a RenewStreamForAuth method to HttpStream, replacing DetachConnection
BUG=58192
TEST=Start chrome with --auth-schemes=NTLM and --proxy-server pointing to a Microsoft Forefront Threat Management Gateway proxy configurated for Integrated Authentication. Assuming the user is part of the same domain as the proxy, authentication should work transparently, and the user should not be presented with auth prompts. Also, net_unittests should pass.
Review URL: http://codereview.chromium.org/3676004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_basic_stream.h')
-rw-r--r-- | net/http/http_basic_stream.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/http/http_basic_stream.h b/net/http/http_basic_stream.h index 2da2f4d..ffab967 100644 --- a/net/http/http_basic_stream.h +++ b/net/http/http_basic_stream.h @@ -53,6 +53,8 @@ class HttpBasicStream : public HttpStream { virtual void Close(bool not_reusable); + virtual HttpStream* RenewStreamForAuth(); + virtual bool IsResponseBodyComplete() const; virtual bool CanFindEndOfResponse() const; @@ -63,15 +65,11 @@ class HttpBasicStream : public HttpStream { virtual void SetConnectionReused(); - virtual ClientSocketHandle* DetachConnection(); - virtual void GetSSLInfo(SSLInfo* ssl_info); virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); private: - bool IsDetached() const; - scoped_refptr<GrowableIOBuffer> read_buf_; scoped_ptr<HttpStreamParser> parser_; |