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

Unified Diff: components/safe_browsing/password_protection/password_protection_service.cc

Issue 2812113004: Write last_modified date to Content Settings in the PrefProvider (Closed)
Patch Set: fix ios Created 3 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/safe_browsing/password_protection/password_protection_service.cc
diff --git a/components/safe_browsing/password_protection/password_protection_service.cc b/components/safe_browsing/password_protection/password_protection_service.cc
index 1190cdefa1fc9e732d387917ebbdc1d5e84b8757..47db18cc282b4591dd60a6909397e4ffd72bc1f9 100644
--- a/components/safe_browsing/password_protection/password_protection_service.cc
+++ b/components/safe_browsing/password_protection/password_protection_service.cc
@@ -350,7 +350,7 @@ void PasswordProtectionService::RemoveContentSettingsOnURLsDeleted(
int verdict_count = static_cast<int>(verdict_dictionary->size());
stored_verdict_count_ = GetStoredVerdictCount() - verdict_count;
content_settings_->ClearSettingsForOneTypeWithPredicate(
- CONTENT_SETTINGS_TYPE_PASSWORD_PROTECTION,
+ CONTENT_SETTINGS_TYPE_PASSWORD_PROTECTION, base::Time(),
base::Bind(&OriginMatchPrimaryPattern, url_key));
}
}

Powered by Google App Engine
This is Rietveld 408576698