| Index: chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| diff --git a/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc b/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| index f287af6eb1d1e0e08634d60f4823112188387a39..dfd3cc71c79bd40c23d56499f01c1775dfc1c106 100644
|
| --- a/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| +++ b/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
| @@ -123,7 +123,7 @@ TEST_F(PolicyProviderTest, GettingManagedContentSettings) {
|
| profile.GetTestingPrefService();
|
|
|
| base::ListValue* value = new base::ListValue();
|
| - value->Append(new base::StringValue("[*.]google.com"));
|
| + value->AppendString("[*.]google.com");
|
| prefs->SetManagedPref(prefs::kManagedImagesBlockedForUrls,
|
| value);
|
|
|
| @@ -179,7 +179,7 @@ TEST_F(PolicyProviderTest, ResourceIdentifier) {
|
| profile.GetTestingPrefService();
|
|
|
| base::ListValue* value = new base::ListValue();
|
| - value->Append(new base::StringValue("[*.]google.com"));
|
| + value->AppendString("[*.]google.com");
|
| prefs->SetManagedPref(prefs::kManagedPluginsAllowedForUrls,
|
| value);
|
|
|
| @@ -226,8 +226,7 @@ TEST_F(PolicyProviderTest, AutoSelectCertificateList) {
|
| std::string pattern_str("\"pattern\":\"[*.]google.com\"");
|
| std::string filter_str("\"filter\":{\"ISSUER\":{\"CN\":\"issuer name\"}}");
|
| base::ListValue* value = new base::ListValue();
|
| - value->Append(
|
| - new base::StringValue("{" + pattern_str + "," + filter_str + "}"));
|
| + value->AppendString("{" + pattern_str + "," + filter_str + "}");
|
| prefs->SetManagedPref(prefs::kManagedAutoSelectCertificateForUrls,
|
| value);
|
| GURL youtube_url("https://www.youtube.com");
|
|
|