| 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..54a164cabde0dba35598af3465c2958d1de11100 100644
|
| --- a/components/safe_browsing/password_protection/password_protection_service.cc
|
| +++ b/components/safe_browsing/password_protection/password_protection_service.cc
|
| @@ -39,7 +39,8 @@ const char kPasswordProtectionRequestUrl[] =
|
| bool OriginMatchPrimaryPattern(
|
| const GURL& origin,
|
| const ContentSettingsPattern& primary_pattern,
|
| - const ContentSettingsPattern& secondary_pattern_unused) {
|
| + const ContentSettingsPattern& secondary_pattern_unused,
|
| + base::Time last_modified_unused) {
|
| return ContentSettingsPattern::FromURLNoWildcard(origin) == primary_pattern;
|
| }
|
|
|
| @@ -350,7 +351,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, std::string(),
|
| base::Bind(&OriginMatchPrimaryPattern, url_key));
|
| }
|
| }
|
|
|