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

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: Created 5 years, 8 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 7fe246d041f4162db8cad55fa5770e3a6a119e06..05496e8ccfa721e27a4855ee9eb19d5ff86652dd 100644
--- a/components/password_manager/core/browser/affiliated_match_helper.h
+++ b/components/password_manager/core/browser/affiliated_match_helper.h
@@ -79,6 +79,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