From be1a48bcd64ea75939f38a9ab264ee99214313bb Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Thu, 20 Jan 2011 00:12:13 +0000 Subject: Even more reordering the methods in headers and implementation in net/. BUG=68682 TEST=compiles Review URL: http://codereview.chromium.org/6314010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71880 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_auth_cache.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'net/http/http_auth_cache.cc') diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc index 3ab86c70..3e5007f 100644 --- a/net/http/http_auth_cache.cc +++ b/net/http/http_auth_cache.cc @@ -143,6 +143,12 @@ HttpAuthCache::Entry* HttpAuthCache::Add(const GURL& origin, HttpAuthCache::Entry::~Entry() { } +void HttpAuthCache::Entry::UpdateStaleChallenge( + const std::string& auth_challenge) { + auth_challenge_ = auth_challenge; + nonce_count_ = 1; +} + HttpAuthCache::Entry::Entry() : nonce_count_(0) { } @@ -175,12 +181,6 @@ bool HttpAuthCache::Entry::HasEnclosingPath(const std::string& dir) { return false; } -void HttpAuthCache::Entry::UpdateStaleChallenge( - const std::string& auth_challenge) { - auth_challenge_ = auth_challenge; - nonce_count_ = 1; -} - bool HttpAuthCache::Remove(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, -- cgit v1.1