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

Unified Diff: components/password_manager/core/browser/affiliated_match_helper.cc

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.cc
diff --git a/components/password_manager/core/browser/affiliated_match_helper.cc b/components/password_manager/core/browser/affiliated_match_helper.cc
index 6acfb59fa82cd855c2e710b98216c99643eb8575..225de22f8020f40c76a3bcea2a12fe39570a04dd 100644
--- a/components/password_manager/core/browser/affiliated_match_helper.cc
+++ b/components/password_manager/core/browser/affiliated_match_helper.cc
@@ -114,6 +114,10 @@ void AffiliatedMatchHelper::GetAffiliatedWebRealms(
}
}
+void AffiliatedMatchHelper::TrimAffiliationCache() {
+ affiliation_service_->TrimCache();
+}
+
// static
bool AffiliatedMatchHelper::IsValidAndroidCredential(
const autofill::PasswordForm& form) {

Powered by Google App Engine
This is Rietveld 408576698