Index: components/content_settings/core/browser/content_settings_policy_provider.cc |
diff --git a/components/content_settings/core/browser/content_settings_policy_provider.cc b/components/content_settings/core/browser/content_settings_policy_provider.cc |
index c2967aa41a68010245b9793394eef5705b3f06b6..95d79714bf516b71d4a5d8ed77d1585d94209a99 100644 |
--- a/components/content_settings/core/browser/content_settings_policy_provider.cc |
+++ b/components/content_settings/core/browser/content_settings_policy_provider.cc |
@@ -237,7 +237,7 @@ void PolicyProvider::GetContentSettingsFromPreferences( |
<< pattern_pair.second.ToString() << "' with wildcard"; |
value_map->SetValue( |
pattern_pair.first, secondary_pattern, content_type, |
- ResourceIdentifier(), |
+ ResourceIdentifier(), base::Time(), |
new base::Value(kPrefsForManagedContentSettingsMap[i].setting)); |
} |
} |
@@ -319,11 +319,9 @@ void PolicyProvider::GetAutoSelectCertificateSettingsFromPreferences( |
// Don't pass removed values from |value|, because base::Values read with |
// JSONReader use a shared string buffer. Instead, DeepCopy here. |
- value_map->SetValue(pattern, |
- ContentSettingsPattern::Wildcard(), |
+ value_map->SetValue(pattern, ContentSettingsPattern::Wildcard(), |
CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE, |
- std::string(), |
- cert_filter->DeepCopy()); |
+ std::string(), base::Time(), cert_filter->DeepCopy()); |
} |
} |
@@ -358,7 +356,7 @@ void PolicyProvider::UpdateManagedDefaultSetting( |
} else { |
value_map_.SetValue(ContentSettingsPattern::Wildcard(), |
ContentSettingsPattern::Wildcard(), entry.content_type, |
- std::string(), new base::Value(setting)); |
+ std::string(), base::Time(), new base::Value(setting)); |
} |
} |