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

Unified Diff: chrome/browser/ui/webui/chromeos/mobile_setup_ui.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/chromeos/mobile_setup_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
index dfcd2cbcb3e2fe0a4a86e7eddf0d8d356170ddbc..e981b9e74a2521a1a8ee58dfa9d4719f5eac161a 100644
--- a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
@@ -521,7 +521,7 @@ void MobileSetupHandler::HandleGetDeviceInfo(const base::ListValue* args) {
// For non-LTE networks network state is ignored, so report the portal is
// reachable, so it gets shown.
web_ui()->CallJavascriptFunctionUnsafe(kJsConnectivityChangedCallback,
- base::FundamentalValue(true));
+ base::Value(true));
}
}
@@ -603,7 +603,7 @@ void MobileSetupHandler::UpdatePortalReachability(
if (force_notification || portal_reachable != lte_portal_reachable_) {
web_ui()->CallJavascriptFunctionUnsafe(
kJsConnectivityChangedCallback,
- base::FundamentalValue(portal_reachable));
+ base::Value(portal_reachable));
}
lte_portal_reachable_ = portal_reachable;
@@ -646,7 +646,7 @@ void MobileSetupUI::DidFailProvisionalLoad(
if (render_frame_host->GetFrameName() != "paymentForm")
return;
- base::FundamentalValue result_value(-error_code);
+ base::Value result_value(-error_code);
web_ui()->CallJavascriptFunctionUnsafe(kJsPortalFrameLoadFailedCallback,
result_value);
}
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc ('k') | chrome/browser/ui/webui/chromeos/slow_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698