diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-26 22:47:11 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-26 22:47:11 +0000 |
commit | d100e44f64d4abb2cc244cb61bb736c602146767 (patch) | |
tree | bfdd81d5424b2335e8543044dd726b0d30666663 /net/http/http_auth_handler_negotiate.h | |
parent | 5d8054efc1e1f26ea806e46869df5e0a84e41a4c (diff) | |
download | chromium_src-d100e44f64d4abb2cc244cb61bb736c602146767.zip chromium_src-d100e44f64d4abb2cc244cb61bb736c602146767.tar.gz chromium_src-d100e44f64d4abb2cc244cb61bb736c602146767.tar.bz2 |
More net/ method ordering.
BUG=68682
TEST=compiles
Review URL: http://codereview.chromium.org/6339012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72710 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_negotiate.h')
-rw-r--r-- | net/http/http_auth_handler_negotiate.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/net/http/http_auth_handler_negotiate.h b/net/http/http_auth_handler_negotiate.h index a19d182..de2a6e6 100644 --- a/net/http/http_auth_handler_negotiate.h +++ b/net/http/http_auth_handler_negotiate.h @@ -64,6 +64,12 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler { void set_host_resolver(HostResolver* host_resolver); + // Sets the system library to use, thereby assuming ownership of + // |auth_library|. + void set_library(AuthLibrary* auth_library) { + auth_library_.reset(auth_library); + } + virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge, HttpAuth::Target target, const GURL& origin, @@ -72,12 +78,6 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler { const BoundNetLog& net_log, scoped_ptr<HttpAuthHandler>* handler); - // Sets the system library to use, thereby assuming ownership of - // |auth_library|. - void set_library(AuthLibrary* auth_library) { - auth_library_.reset(auth_library); - } - private: bool disable_cname_lookup_; bool use_port_; @@ -101,17 +101,16 @@ class HttpAuthHandlerNegotiate : public HttpAuthHandler { virtual ~HttpAuthHandlerNegotiate(); - virtual bool NeedsIdentity(); - - virtual bool AllowsDefaultCredentials(); - - virtual HttpAuth::AuthorizationResult HandleAnotherChallenge( - HttpAuth::ChallengeTokenizer* challenge); - // These are public for unit tests std::wstring CreateSPN(const AddressList& address_list, const GURL& orign); const std::wstring& spn() const { return spn_; } + // HttpAuthHandler: + virtual HttpAuth::AuthorizationResult HandleAnotherChallenge( + HttpAuth::ChallengeTokenizer* challenge); + virtual bool NeedsIdentity(); + virtual bool AllowsDefaultCredentials(); + protected: virtual bool Init(HttpAuth::ChallengeTokenizer* challenge); |