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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 15949022: Translate: language list smart updater (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done 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
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 61306d3c3e091188039cb3eaf713634f87add979..4c8a66faed047bca2c51b85f2c315d09fd7c0322 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1555,8 +1555,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
}
#if !defined(OS_CHROMEOS)
- // TODO(mad): Move this call in a proper place on CrOS.
- // http://crosbug.com/17687
+ // In CrOS, Translate omits to update language lists here because a user
+ // didn't accept EULA yet. They will be updated when the first infobar
+ // goes to be shown, or a device becomes online.
if (translate_manager_ != NULL) {
translate_manager_->FetchLanguageListFromTranslateServer(
profile_->GetPrefs());
« no previous file with comments | « no previous file | chrome/browser/translate/translate_language_list.h » ('j') | chrome/browser/translate/translate_language_list.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698