Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5419)

Unified Diff: chrome/browser/ui/webui/settings/chromeos/easy_unlock_settings_handler.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 59ef95cee3fe1c30a53a1f875014f285a1e552d8..67d893e79cd5d152520b9ce1c823ba0e76787860 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
@@ -95,7 +95,7 @@ void EasyUnlockSettingsHandler::SendEnabledStatus() {
CallJavascriptFunction(
"cr.webUIListenerCallback",
base::StringValue("easy-unlock-enabled-status"),
- base::FundamentalValue(EasyUnlockService::Get(profile_)->IsEnabled()));
+ base::Value(EasyUnlockService::Get(profile_)->IsEnabled()));
}
std::string EasyUnlockSettingsHandler::GetTurnOffFlowStatus() {
@@ -133,7 +133,7 @@ void EasyUnlockSettingsHandler::HandleGetEnabledStatus(
CHECK(args->Get(0, &callback_id));
ResolveJavascriptCallback(
*callback_id,
- base::FundamentalValue(EasyUnlockService::Get(profile_)->IsEnabled()));
+ base::Value(EasyUnlockService::Get(profile_)->IsEnabled()));
}
void EasyUnlockSettingsHandler::HandleStartTurnOnFlow(
« no previous file with comments | « chrome/browser/ui/webui/settings/chromeos/device_storage_handler.cc ('k') | chrome/browser/ui/webui/settings/font_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698