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

Unified Diff: chrome/browser/password_manager/password_store_factory.h

Issue 1072413003: Add foundation for trimming the AffiliationDatabase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep noncontroversial parts. Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_factory.h
diff --git a/chrome/browser/password_manager/password_store_factory.h b/chrome/browser/password_manager/password_store_factory.h
index 25bd74720378840075a0374eca927c2a4389e0b2..5fab46e3fe7ec2529179739b67d6839a7485e6bb 100644
--- a/chrome/browser/password_manager/password_store_factory.h
+++ b/chrome/browser/password_manager/password_store_factory.h
@@ -62,6 +62,10 @@ class PasswordStoreFactory : public BrowserContextKeyedServiceFactory {
// that syncing passwords has just started or ended for |profile|.
static void OnPasswordsSyncedStatePotentiallyChanged(Profile* profile);
+ // Trims the affiliation cache for |profile| if affiliation-based matching is
+ // enabled, and completely deletes it otherwise.
+ static void TrimOrDeleteAffiliationCache(Profile* profile);
+
private:
friend struct DefaultSingletonTraits<PasswordStoreFactory>;
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698