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

Unified Diff: chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc

Issue 1978203002: Translate: Remove the legacy pref 'translate_language_blacklist' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | components/translate/core/browser/translate_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc
diff --git a/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc b/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc
index 93b8160da741e48c9b176801f1f6fe793166e7b0..ccf799c23b10027813a1d650626828f520b43cb7 100644
--- a/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc
+++ b/chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc
@@ -145,11 +145,6 @@ void TranslateInternalsHandler::OnRemovePrefItem(const base::ListValue* args) {
if (!args->GetString(1, &language))
return;
translate_prefs->UnblockLanguage(language);
- } else if (pref_name == "language_blacklist") {
- std::string language;
- if (!args->GetString(1, &language))
- return;
- translate_prefs->RemoveLanguageFromLegacyBlacklist(language);
} else if (pref_name == "site_blacklist") {
std::string site;
if (!args->GetString(1, &site))
« no previous file with comments | « no previous file | components/translate/core/browser/translate_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698