Chromium Code Reviews| Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
| index 16dc5e8a33baf35390908e44cd38557916d51706..b2fc1617a4840d0e96912e7c1d0b44c6db94e632 100644 |
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
| @@ -285,6 +285,11 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) { |
| { "proxiesLabelExtension", IDS_OPTIONS_EXTENSION_PROXIES_LABEL }, |
| { "proxiesLabelSystem", IDS_OPTIONS_SYSTEM_PROXIES_LABEL, |
| IDS_PRODUCT_NAME }, |
| + { "resetProfileSettingsButton", IDS_RESET_PROFILE_SETTINGS_BUTTON}, |
|
Dan Beam
2013/05/23 19:46:43
nit: s/}/ }/g
battre
2013/05/24 09:15:46
Done.
|
| + { "resetProfileSettingsDescription", |
| + IDS_RESET_PROFILE_SETTINGS_DESCRIPTION}, |
| + { "resetProfileSettingsSectionTitle", |
| + IDS_RESET_PROFILE_SETTINGS_SECTION_TITLE}, |
| { "safeBrowsingEnableProtection", |
| IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION }, |
| { "sectionTitleAppearance", IDS_APPEARANCE_GROUP_NAME }, |
| @@ -510,6 +515,10 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) { |
| "gpuEnabledAtStart", |
| g_browser_process->gpu_mode_manager()->initial_gpu_mode_pref()); |
| #endif |
| + |
| + values->SetBoolean("enableResetProfileSettingsSection", |
| + CommandLine::ForCurrentProcess()->HasSwitch( |
| + switches::kEnableResetProfileSettings)); |
| } |
| void BrowserOptionsHandler::RegisterCloudPrintValues(DictionaryValue* values) { |