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

Unified Diff: chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/signin/signin_supervised_user_import_handler.cc
diff --git a/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.cc b/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.cc
index 1a53687999126eb01e8d390c9f020071bb4ec54f..f7e115ff656fd60f57782197f2dd8656274b79c3 100644
--- a/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.cc
+++ b/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler.cc
@@ -218,9 +218,7 @@ void SigninSupervisedUserImportHandler::LoadCustodianProfileCallback(
void SigninSupervisedUserImportHandler::RejectCallback(
const base::string16& error) {
- RejectJavascriptCallback(
- base::StringValue(webui_callback_id_),
- base::StringValue(error));
+ RejectJavascriptCallback(base::Value(webui_callback_id_), base::Value(error));
webui_callback_id_.clear();
}
@@ -297,9 +295,7 @@ void SigninSupervisedUserImportHandler::SendExistingSupervisedUsers(
}
// Resolve callback with response.
- ResolveJavascriptCallback(
- base::StringValue(webui_callback_id_),
- supervised_users);
+ ResolveJavascriptCallback(base::Value(webui_callback_id_), supervised_users);
webui_callback_id_.clear();
}

Powered by Google App Engine
This is Rietveld 408576698