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

Unified Diff: components/translate/core/common/translate_util.h

Issue 195553002: Consider the origin flag when loading the translate language list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « components/translate/core/browser/translate_language_list.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/common/translate_util.h
diff --git a/components/translate/core/common/translate_util.h b/components/translate/core/common/translate_util.h
index 8e290efe7880f8253be05b63d48086708b3d6798..dcabd2a99adf3bcf91de2b2afc33da5e4d7d2475 100644
--- a/components/translate/core/common/translate_util.h
+++ b/components/translate/core/common/translate_util.h
@@ -20,7 +20,8 @@ void ToTranslateLanguageSynonym(std::string* language);
// Converts language code synonym to use at Chrome internal.
void ToChromeLanguageSynonym(std::string* language);
-// Get Security origin with which Translate runs.
+// Get Security origin with which Translate runs. This is used both for
+// language checks and to obtain the list of available languages.
GURL GetTranslateSecurityOrigin();
} // namespace translate
« no previous file with comments | « components/translate/core/browser/translate_language_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698