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 c7f69233db31284f9b3e8b13d2eb42621eec41e2..ed0ba219e22d051d168ad36b355b31cce6d3cb51 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); |