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

Unified Diff: components/translate/core/browser/translate_download_manager.h

Issue 2819813002: Translate: remove --disable-translate flag (Closed)
Patch Set: Created 3 years, 8 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: components/translate/core/browser/translate_download_manager.h
diff --git a/components/translate/core/browser/translate_download_manager.h b/components/translate/core/browser/translate_download_manager.h
index 5d1c4e2d85c8cd6f877ef3f85fda4396f2f003dd..7f16a86652cd15214d72c8e3d112faad5a013e55 100644
--- a/components/translate/core/browser/translate_download_manager.h
+++ b/components/translate/core/browser/translate_download_manager.h
@@ -51,13 +51,10 @@ class TranslateDownloadManager {
TranslateScript* script() { return script_.get(); }
// Let the caller decide if and when we should fetch the language list from
- // the translate server. This is a NOOP if switches::kDisableTranslate is set
- // or if prefs::kEnableTranslate is set to false.
+ // the translate server. This is a NOOP if prefs::kEnableTranslate is set to
+ // false.
static void RequestLanguageList(PrefService* prefs);
- // Fetches the language list from the translate server.
- static void RequestLanguageList();
-
// Fills |languages| with the list of languages that the translate server can
// translate to and from.
static void GetSupportedLanguages(std::vector<std::string>* languages);

Powered by Google App Engine
This is Rietveld 408576698