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

Unified Diff: components/password_manager/core/browser/affiliated_match_helper.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
Index: components/password_manager/core/browser/affiliated_match_helper.h
diff --git a/components/password_manager/core/browser/affiliated_match_helper.h b/components/password_manager/core/browser/affiliated_match_helper.h
index b3ba88608efc43483f88a89b3250b3fcb17d99f2..6f7b90973379b42b37ba83274c04070a72035736 100644
--- a/components/password_manager/core/browser/affiliated_match_helper.h
+++ b/components/password_manager/core/browser/affiliated_match_helper.h
@@ -80,6 +80,9 @@ class AffiliatedMatchHelper : public PasswordStore::Observer,
const autofill::PasswordForm& android_form,
const AffiliatedRealmsCallback& result_callback);
+ // Removes cached affiliation data that is no longer needed.
+ void TrimAffiliationCache();
+
// Returns whether or not |form| represents an Android credential.
static bool IsValidAndroidCredential(const autofill::PasswordForm& form);

Powered by Google App Engine
This is Rietveld 408576698