| Index: chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.cc b/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.cc
|
| index b1f00022bcadf68474dc3435576b4511aeb766a5..c16ef08e51090a0f8e11d5e66b95941d5ccfc0b4 100644
|
| --- a/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.cc
|
| @@ -87,14 +87,13 @@ void EasyUnlockSettingsHandler::OnJavascriptDisallowed() {
|
|
|
| void EasyUnlockSettingsHandler::OnTurnOffOperationStatusChanged() {
|
| CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::StringValue("easy-unlock-turn-off-flow-status"),
|
| - base::StringValue(GetTurnOffFlowStatus()));
|
| + base::Value("easy-unlock-turn-off-flow-status"),
|
| + base::Value(GetTurnOffFlowStatus()));
|
| }
|
|
|
| void EasyUnlockSettingsHandler::SendEnabledStatus() {
|
| CallJavascriptFunction(
|
| - "cr.webUIListenerCallback",
|
| - base::StringValue("easy-unlock-enabled-status"),
|
| + "cr.webUIListenerCallback", base::Value("easy-unlock-enabled-status"),
|
| base::Value(EasyUnlockService::Get(profile_)->IsEnabled()));
|
| }
|
|
|
| @@ -145,8 +144,7 @@ void EasyUnlockSettingsHandler::HandleGetTurnOffFlowStatus(
|
| CHECK_EQ(1U, args->GetSize());
|
| const base::Value* callback_id;
|
| CHECK(args->Get(0, &callback_id));
|
| - ResolveJavascriptCallback(*callback_id,
|
| - base::StringValue(GetTurnOffFlowStatus()));
|
| + ResolveJavascriptCallback(*callback_id, base::Value(GetTurnOffFlowStatus()));
|
| }
|
|
|
| void EasyUnlockSettingsHandler::HandleStartTurnOffFlow(
|
|
|