| Index: chrome/browser/chromeos/policy/login_profile_policy_provider.cc
|
| diff --git a/chrome/browser/chromeos/policy/login_profile_policy_provider.cc b/chrome/browser/chromeos/policy/login_profile_policy_provider.cc
|
| index 164583fd5fdfcae760d74180173fe51cf0347aa7..373a350fde1253adbc9ae7a4b9281db040b5d153 100644
|
| --- a/chrome/browser/chromeos/policy/login_profile_policy_provider.cc
|
| +++ b/chrome/browser/chromeos/policy/login_profile_policy_provider.cc
|
| @@ -34,20 +34,20 @@ const char kActionDoNothing[] = "DoNothing";
|
|
|
| std::unique_ptr<base::Value> GetAction(const std::string& action) {
|
| 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>();
|
| }
|
|
|