summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_negotiate.h
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 14:17:14 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 14:17:14 +0000
commit36c8e5f7523eb31c11fce92246cdaca4e7af4f36 (patch)
tree117a4786075700fb0b86b843304964c694adf533 /net/http/http_auth_handler_negotiate.h
parent7ec0cb21f022b28c20e6e44e5f38f9ed6bc13a16 (diff)
downloadchromium_src-36c8e5f7523eb31c11fce92246cdaca4e7af4f36.zip
chromium_src-36c8e5f7523eb31c11fce92246cdaca4e7af4f36.tar.gz
chromium_src-36c8e5f7523eb31c11fce92246cdaca4e7af4f36.tar.bz2
HttpAuthHandler's are no longer refcounted.
Since HttpAuthHandler objects are no longer contained inside of the HttpAuthCache, the lifetime of the handlers is more clearly defined. TEST=net_unittests (including some changes) BUG=42222 Review URL: http://codereview.chromium.org/2635004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_negotiate.h')
-rw-r--r--net/http/http_auth_handler_negotiate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/http_auth_handler_negotiate.h b/net/http/http_auth_handler_negotiate.h
index 6f2dab8..c7fdd67 100644
--- a/net/http/http_auth_handler_negotiate.h
+++ b/net/http/http_auth_handler_negotiate.h
@@ -56,7 +56,7 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler {
CreateReason reason,
int digest_nonce_count,
const BoundNetLog& net_log,
- scoped_refptr<HttpAuthHandler>* handler);
+ scoped_ptr<HttpAuthHandler>* handler);
#if defined(OS_WIN)
// Set the SSPILibrary to use. Typically the only callers which need to
@@ -88,6 +88,8 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler {
explicit HttpAuthHandlerNegotiate(URLSecurityManager* url_security_manager);
#endif
+ virtual ~HttpAuthHandlerNegotiate();
+
virtual bool NeedsIdentity();
virtual bool IsFinalRound();
@@ -119,8 +121,6 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler {
virtual bool Init(HttpAuth::ChallengeTokenizer* challenge);
private:
- ~HttpAuthHandlerNegotiate();
-
#if defined(OS_WIN)
void OnResolveCanonicalName(int result);
HttpAuthSSPI auth_sspi_;