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

Unified Diff: chrome/browser/ui/webui/options/language_options_handler_common.cc

Issue 2121303003: Remove the "Settings" packaged app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/options/language_options_handler_common.cc
diff --git a/chrome/browser/ui/webui/options/language_options_handler_common.cc b/chrome/browser/ui/webui/options/language_options_handler_common.cc
index 579895ef1dadae2a38e6070f088837157c2bac8e..ee249ea8f55737fa5da948007c7846d0a69beb2b 100644
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc
@@ -95,23 +95,6 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues(
IDS_OPTIONS_LANGUAGES_CANNOT_TRANSLATE_IN_THIS_LANGUAGE },
};
-#if defined(ENABLE_SETTINGS_APP)
- static OptionsStringResource app_resources[] = {
- { "cannotBeDisplayedInThisLanguage",
- IDS_OPTIONS_SETTINGS_LANGUAGES_CANNOT_BE_DISPLAYED_IN_THIS_LANGUAGE,
- IDS_SETTINGS_APP_LAUNCHER_PRODUCT_NAME },
- { "isDisplayedInThisLanguage",
- IDS_OPTIONS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE,
- IDS_SETTINGS_APP_LAUNCHER_PRODUCT_NAME },
- { "displayInThisLanguage",
- IDS_OPTIONS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE,
- IDS_SETTINGS_APP_LAUNCHER_PRODUCT_NAME },
- };
- base::DictionaryValue* app_values = NULL;
- CHECK(localized_strings->GetDictionary(kSettingsAppKey, &app_values));
- RegisterStrings(app_values, app_resources, arraysize(app_resources));
-#endif
-
RegisterStrings(localized_strings, resources, arraysize(resources));
// The following are resources, rather than local strings.
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/browser/ui/webui/options/manage_profile_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698