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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 months 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..b1f00022bcadf68474dc3435576b4511aeb766a5 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() {
@@ -132,8 +132,7 @@ void EasyUnlockSettingsHandler::HandleGetEnabledStatus(
const base::Value* callback_id;
CHECK(args->Get(0, &callback_id));
ResolveJavascriptCallback(
- *callback_id,
- base::FundamentalValue(EasyUnlockService::Get(profile_)->IsEnabled()));
+ *callback_id, base::Value(EasyUnlockService::Get(profile_)->IsEnabled()));
}
void EasyUnlockSettingsHandler::HandleStartTurnOnFlow(

Powered by Google App Engine
This is Rietveld 408576698