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

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: rebase 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 c87ed1ec206f107e074129d632e265be6a494630..b50244e201752fc18818f0c89d05f08b03f44375 100644
--- a/components/safe_browsing/password_protection/password_protection_service.cc
+++ b/components/safe_browsing/password_protection/password_protection_service.cc
@@ -357,7 +357,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