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 581094b3ad0bcb9df4a9c82df65eb61056f57b93..852b395a564ee12904c72b813b8d83fc492083a7 100644 |
--- a/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc |
+++ b/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc |
@@ -138,7 +138,7 @@ TEST_F(PolicyProviderTest, GettingManagedContentSettings) { |
TestingPrefServiceSyncable* prefs = profile.GetTestingPrefService(); |
base::ListValue* value = new base::ListValue(); |
- value->Append(base::Value::CreateStringValue("[*.]google.com")); |
+ value->Append(new base::StringValue("[*.]google.com")); |
prefs->SetManagedPref(prefs::kManagedImagesBlockedForUrls, |
value); |
@@ -210,7 +210,7 @@ TEST_F(PolicyProviderTest, ResourceIdentifier) { |
TestingPrefServiceSyncable* prefs = profile.GetTestingPrefService(); |
base::ListValue* value = new base::ListValue(); |
- value->Append(base::Value::CreateStringValue("[*.]google.com")); |
+ value->Append(new base::StringValue("[*.]google.com")); |
prefs->SetManagedPref(prefs::kManagedPluginsAllowedForUrls, |
value); |
@@ -263,8 +263,8 @@ 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(base::Value::CreateStringValue( |
- "{" + pattern_str + "," + filter_str + "}")); |
+ value->Append( |
+ new base::StringValue("{" + pattern_str + "," + filter_str + "}")); |
prefs->SetManagedPref(prefs::kManagedAutoSelectCertificateForUrls, |
value); |
GURL youtube_url("https://www.youtube.com"); |