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

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

Issue 23708004: Translate: Remove --enable-translate-settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify TranslateManagerBrowserTest.NeverTranslateLanguagePref Created 7 years, 4 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 a4e49257d0ab79593338a7c146e068dc79c88d4a..d92737686f66f740efa880ca361fb9e7334379b4 100644
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc
@@ -120,10 +120,6 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues(
command_line.HasSwitch(switches::kEnableSpellingAutoCorrect);
localized_strings->SetBoolean("enableSpellingAutoCorrect",
enable_spelling_auto_correct);
- bool enable_translate_settings =
- command_line.HasSwitch(switches::kEnableTranslateSettings);
- localized_strings->SetBoolean("enableTranslateSettings",
- enable_translate_settings);
Profile* profile = Profile::FromWebUI(web_ui());
PrefService* prefs = profile->GetPrefs();

Powered by Google App Engine
This is Rietveld 408576698