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

Unified Diff: chrome/browser/safe_browsing/chrome_password_protection_service.cc

Issue 2870193002: Clean up expired verdicts at shutdown (Closed)
Patch Set: resolve container-overflow Created 3 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 | components/safe_browsing/password_protection/password_protection_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/chrome_password_protection_service.cc
diff --git a/chrome/browser/safe_browsing/chrome_password_protection_service.cc b/chrome/browser/safe_browsing/chrome_password_protection_service.cc
index 9c4efee47e7016d45575efe9ec65b1143ebc84ef..053284d9f30eaa5fa8aede94686bb119db9ef067 100644
--- a/chrome/browser/safe_browsing/chrome_password_protection_service.cc
+++ b/chrome/browser/safe_browsing/chrome_password_protection_service.cc
@@ -44,6 +44,7 @@ ChromePasswordProtectionService::ChromePasswordProtectionService(
ChromePasswordProtectionService::~ChromePasswordProtectionService() {
if (content_settings()) {
+ CleanUpExpiredVerdicts();
UMA_HISTOGRAM_COUNTS_1000(
"PasswordProtection.NumberOfCachedVerdictBeforeShutdown",
GetStoredVerdictCount());
« no previous file with comments | « no previous file | components/safe_browsing/password_protection/password_protection_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698