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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.h

Issue 2097043002: Clear HTTP auth data on clearing browsing data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor unit tests fixes Created 4 years, 4 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: chrome/browser/browsing_data/browsing_data_remover.h
diff --git a/chrome/browser/browsing_data/browsing_data_remover.h b/chrome/browser/browsing_data/browsing_data_remover.h
index 5564dcc10be7619ecc07f2f75f736b306a239562..cc43d5bebe47c429e30d4fbb71c1c18c4b79ab4c 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.h
+++ b/chrome/browser/browsing_data/browsing_data_remover.h
@@ -421,6 +421,10 @@ class BrowsingDataRemover : public KeyedService
// Clears the respective waiting flag and invokes NotifyIfDone.
void OnClearedHostnameResolutionCache();
+ // Callback for when HTTP auth cache has been cleared.
+ // Clears the respective waiting flag and invokes NotifyIfDone.
+ void OnClearedHttpAuthCache();
+
// Callback for when speculative data in the network Predictor has been
// cleared. Clears the respective waiting flag and invokes
// NotifyIfDone.
@@ -539,6 +543,7 @@ class BrowsingDataRemover : public KeyedService
bool waiting_for_clear_form_ = false;
bool waiting_for_clear_history_ = false;
bool waiting_for_clear_hostname_resolution_cache_ = false;
+ bool waiting_for_clear_http_auth_cache_ = false;
bool waiting_for_clear_keyword_data_ = false;
bool waiting_for_clear_nacl_cache_ = false;
bool waiting_for_clear_network_predictor_ = false;

Powered by Google App Engine
This is Rietveld 408576698