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 7c8880f40c048fcf0510d04f6e05ede561c2372f..062f34904504181f6ecfc4fa59a01b1dc20b5450 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -266,6 +266,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}, |
+ { "resetProfileSettingsDescription", |
+ IDS_RESET_PROFILE_SETTINGS_DESCRIPTION}, |
+ { "resetProfileSettingsSectionTitle", |
+ IDS_RESET_PROFILE_SETTINGS_SECTION_TITLE}, |
{ "safeBrowsingEnableProtection", |
IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION }, |
{ "sectionTitleAppearance", IDS_APPEARANCE_GROUP_NAME }, |
@@ -497,6 +502,10 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) { |
"gpuEnabledAtStart", |
g_browser_process->gpu_mode_manager()->initial_gpu_mode_pref()); |
#endif |
+ |
+ values->SetBoolean("enableProfileSection", |
vasilii
2013/05/13 09:13:06
Maybe enableResetProfileSection is a better name?
battre
2013/05/13 15:54:06
Done.
|
+ CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableResetProfileSettings)); |
} |
void BrowserOptionsHandler::RegisterCloudPrintValues(DictionaryValue* values) { |