Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: net/http/http_auth_controller.h

Issue 6525035: Invalidate credentials if the server rejects them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify auth handlers for basic and digest Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_auth_controller.h
diff --git a/net/http/http_auth_controller.h b/net/http/http_auth_controller.h
index 0b7f4308d802ed35f1f62d48841b07004dfdeb82..7b5da50fbda44be1d9221311d7305997f954eb0a 100644
--- a/net/http/http_auth_controller.h
+++ b/net/http/http_auth_controller.h
@@ -84,11 +84,11 @@ class HttpAuthController : public base::RefCounted<HttpAuthController>,
bool SelectPreemptiveAuth(const BoundNetLog& net_log);
// Invalidates the current handler, including cache.
- void InvalidateCurrentHandler();
+ void InvalidateCurrentHandler(const HttpResponseHeaders* headers);
// Invalidates any auth cache entries after authentication has failed.
// The identity that was rejected is |identity_|.
- void InvalidateRejectedAuthFromCache();
+ void InvalidateRejectedAuthFromCache(const HttpResponseHeaders* headers);
// Sets |identity_| to the next identity that the transaction should try. It
// chooses candidates by searching the auth cache and the URL for a

Powered by Google App Engine
This is Rietveld 408576698