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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/accounts_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: plugins, ui_account_tweaks fixes 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/accounts_options_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc
index e6542ef02b1c603b6f88c972e95e5f79c07eeddf..6b40a73015f8a43aa31e4ba0f8b39f46c53d956b 100644
--- a/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/accounts_options_handler2.cc
@@ -81,9 +81,8 @@ void AccountsOptionsHandler::GetLocalizedValues(
localized_strings->SetString("owner_only", l10n_util::GetStringUTF16(
IDS_OPTIONS_ACCOUNTS_OWNER_ONLY));
- localized_strings->SetString("whitelist_is_managed",
- g_browser_process->browser_policy_connector()->IsEnterpriseManaged() ?
- ASCIIToUTF16("true") : ASCIIToUTF16("false"));
+ localized_strings->SetBoolean("whitelist_is_managed",
+ g_browser_process->browser_policy_connector()->IsEnterpriseManaged());
AddAccountUITweaksLocalizedValues(localized_strings);
}

Powered by Google App Engine
This is Rietveld 408576698