Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc |
index 7cdf66742741f72b8fedb6c3a2e9a83d29870d48..3639151f174ac71ef343c81b57cef5e25f099348 100644 |
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc |
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc |
@@ -237,7 +237,7 @@ TEST(NetworkConfigurationPolicyHandlerTest, ValidONC) { |
PolicyMap policy_map; |
policy_map.Set(key::kOpenNetworkConfiguration, POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, |
- base::MakeUnique<base::StringValue>(kTestONC), nullptr); |
+ base::MakeUnique<base::Value>(kTestONC), nullptr); |
std::unique_ptr<NetworkConfigurationPolicyHandler> handler( |
NetworkConfigurationPolicyHandler::CreateForUserPolicy()); |
PolicyErrorMap errors; |
@@ -262,7 +262,7 @@ TEST(NetworkConfigurationPolicyHandlerTest, JSONParseError) { |
PolicyMap policy_map; |
policy_map.Set(key::kOpenNetworkConfiguration, POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, |
- base::MakeUnique<base::StringValue>(kTestONC), nullptr); |
+ base::MakeUnique<base::Value>(kTestONC), nullptr); |
std::unique_ptr<NetworkConfigurationPolicyHandler> handler( |
NetworkConfigurationPolicyHandler::CreateForUserPolicy()); |
PolicyErrorMap errors; |
@@ -288,7 +288,7 @@ TEST(NetworkConfigurationPolicyHandlerTest, Sanitization) { |
PolicyMap policy_map; |
policy_map.Set(key::kOpenNetworkConfiguration, POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, |
- base::MakeUnique<base::StringValue>(kTestONC), nullptr); |
+ base::MakeUnique<base::Value>(kTestONC), nullptr); |
std::unique_ptr<NetworkConfigurationPolicyHandler> handler( |
NetworkConfigurationPolicyHandler::CreateForUserPolicy()); |
PolicyErrorMap errors; |
@@ -317,7 +317,7 @@ TEST(PinnedLauncherAppsPolicyHandler, PrefTranslation) { |
EXPECT_TRUE(prefs.GetValue(prefs::kPolicyPinnedLauncherApps, &value)); |
EXPECT_TRUE(base::Value::Equals(&expected_pinned_apps, value)); |
- base::StringValue entry1("abcdefghijklmnopabcdefghijklmnop"); |
+ base::Value entry1("abcdefghijklmnopabcdefghijklmnop"); |
auto entry1_dict = base::MakeUnique<base::DictionaryValue>(); |
entry1_dict->Set(ash::launcher::kPinnedAppsPrefAppIDPath, entry1.DeepCopy()); |
expected_pinned_apps.Append(std::move(entry1_dict)); |