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

Unified Diff: chrome/browser/ui/webui/options/import_data_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/options/import_data_handler.cc
diff --git a/chrome/browser/ui/webui/options/import_data_handler.cc b/chrome/browser/ui/webui/options/import_data_handler.cc
index bef03700bb5ce0b2c705599def10f1956f930782..0b49c9824fd2b17553232b1a73954acc947ad1a4 100644
--- a/chrome/browser/ui/webui/options/import_data_handler.cc
+++ b/chrome/browser/ui/webui/options/import_data_handler.cc
@@ -111,7 +111,7 @@ void ImportDataHandler::StartImport(
if (importer_host_)
importer_host_->set_observer(NULL);
- base::FundamentalValue importing(true);
+ base::Value importing(true);
web_ui()->CallJavascriptFunctionUnsafe("ImportDataOverlay.setImportingState",
importing);
import_did_succeed_ = false;
@@ -226,7 +226,7 @@ void ImportDataHandler::ImportEnded() {
if (import_did_succeed_) {
web_ui()->CallJavascriptFunctionUnsafe("ImportDataOverlay.confirmSuccess");
} else {
- base::FundamentalValue state(false);
+ base::Value state(false);
web_ui()->CallJavascriptFunctionUnsafe(
"ImportDataOverlay.setImportingState", state);
web_ui()->CallJavascriptFunctionUnsafe("ImportDataOverlay.dismiss");
« no previous file with comments | « chrome/browser/ui/webui/options/font_settings_handler.cc ('k') | chrome/browser/ui/webui/options/manage_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698