Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
index 1ef2da92f5e4a52ca5bf2c249cde427ead4d0410..6970f55afc2dc79b7f9f564804ad062570499137 100644 |
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc |
@@ -103,20 +103,20 @@ std::unique_ptr<base::Value> GetAction(const base::DictionaryValue* dict, |
if (!value || !value->GetAsString(&action)) |
return std::unique_ptr<base::Value>(); |
if (action == kActionSuspend) { |
- return std::unique_ptr<base::Value>(new base::FundamentalValue( |
- chromeos::PowerPolicyController::ACTION_SUSPEND)); |
+ return std::unique_ptr<base::Value>( |
+ new base::Value(chromeos::PowerPolicyController::ACTION_SUSPEND)); |
} |
if (action == kActionLogout) { |
- return std::unique_ptr<base::Value>(new base::FundamentalValue( |
- chromeos::PowerPolicyController::ACTION_STOP_SESSION)); |
+ return std::unique_ptr<base::Value>( |
+ new base::Value(chromeos::PowerPolicyController::ACTION_STOP_SESSION)); |
} |
if (action == kActionShutdown) { |
- return std::unique_ptr<base::Value>(new base::FundamentalValue( |
- chromeos::PowerPolicyController::ACTION_SHUT_DOWN)); |
+ return std::unique_ptr<base::Value>( |
+ new base::Value(chromeos::PowerPolicyController::ACTION_SHUT_DOWN)); |
} |
if (action == kActionDoNothing) { |
- return std::unique_ptr<base::Value>(new base::FundamentalValue( |
- chromeos::PowerPolicyController::ACTION_DO_NOTHING)); |
+ return std::unique_ptr<base::Value>( |
+ new base::Value(chromeos::PowerPolicyController::ACTION_DO_NOTHING)); |
} |
return std::unique_ptr<base::Value>(); |
} |