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

Unified Diff: net/http/http_auth_cache.h

Issue 2097043002: Clear HTTP auth data on clearing browsing data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 4 years, 6 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_cache.h
diff --git a/net/http/http_auth_cache.h b/net/http/http_auth_cache.h
index 9190e42c50899951eac307e3afa674cdb7175878..f3aabe23549eff5ed661668ddf1318fad5a4b4d0 100644
--- a/net/http/http_auth_cache.h
+++ b/net/http/http_auth_cache.h
@@ -162,8 +162,9 @@ class NET_EXPORT_PRIVATE HttpAuthCache {
HttpAuth::Scheme scheme,
const AuthCredentials& credentials);
- // Clears the cache.
- void Clear();
+ // Clears cache entries created within time period defined by |delete_begin|
+ // and |delete_end|.
+ void Clear(base::Time delete_begin, base::Time delete_end);
// Updates a stale digest entry on server |origin| for realm |realm| and
// scheme |scheme|. The cached auth challenge is replaced with

Powered by Google App Engine
This is Rietveld 408576698