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

Unified Diff: chrome/browser/translate/translate_language_list.h

Issue 16282003: Translate: make alpha language support enabled by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase due to conflict in CQ Created 7 years, 6 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/translate/translate_language_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_language_list.h
diff --git a/chrome/browser/translate/translate_language_list.h b/chrome/browser/translate/translate_language_list.h
index a9e4f4990a6d1a7530290fea17e056e944cdc444..df81d099b9237f94709b771d438d02a7b877b277 100644
--- a/chrome/browser/translate/translate_language_list.h
+++ b/chrome/browser/translate/translate_language_list.h
@@ -28,18 +28,15 @@ class TranslateLanguageList : public net::URLFetcherDelegate {
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
// Fills |languages| with the list of languages that the translate server can
- // translate to and from. If alpha language support is enabled, it fills
- // |languages| with the list of all supporting languages including alpha
- // languages.
+ // translate to and from. |languages| will include alpha languages.
void GetSupportedLanguages(std::vector<std::string>* languages);
// Returns the language code that can be used with the Translate method for a
// specified |chrome_locale|.
std::string GetLanguageCode(const std::string& chrome_locale);
- // Returns true if |language| is supported by the translation server. If alpha
- // language support is enabled, also returns true if |language| is in alpha
- // language list.
+ // Returns true if |language| is supported by the translation server. It also
+ // returns true against alpha languages.
bool IsSupportedLanguage(const std::string& language);
// Returns true if |language| is supported by the translation server as a
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/translate/translate_language_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698