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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc

Issue 10391044: retry 136193 - convert localStrings to loadTimeData for options page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 7 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/options2/chromeos/change_picture_options_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc
index c6cb39b8264331f2a3315aa53259e084bca37600..e8310eaa4df4cfb51e16c9a1fa519d3249348b3c 100644
--- a/chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc
@@ -94,9 +94,8 @@ void ChangePictureOptionsHandler::GetLocalizedValues(
l10n_util::GetStringUTF16(
IDS_OPTIONS_CHANGE_PICTURE_PROFILE_LOADING_PHOTO));
- localized_strings->SetString("userIsEphemeral",
- UserManager::Get()->IsCurrentUserEphemeral() ?
- ASCIIToUTF16("true") : ASCIIToUTF16("false"));
+ localized_strings->SetBoolean("userIsEphemeral",
+ UserManager::Get()->IsCurrentUserEphemeral());
}
void ChangePictureOptionsHandler::RegisterMessages() {

Powered by Google App Engine
This is Rietveld 408576698