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

Unified Diff: chrome/browser/browser_main.cc

Issue 7384008: Revert 92668 - Remove more unnecessary ChromeURLRequestContext members. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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 | « no previous file | chrome/browser/browsing_data_appcache_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 92669)
+++ chrome/browser/browser_main.cc (working copy)
@@ -2010,14 +2010,8 @@
// If we're running tests (ui_task is non-null), then we don't want to
// call FetchLanguageListFromTranslateServer
- if (parameters.ui_task == NULL && translate_manager != NULL) {
- // TODO(willchan): Get rid of this after TranslateManager doesn't use
- // the default request context. http://crbug.com/89396.
- // This is necessary to force |default_request_context_| to be
- // initialized.
- profile->GetRequestContext();
+ if (parameters.ui_task == NULL && translate_manager != NULL)
translate_manager->FetchLanguageListFromTranslateServer(user_prefs);
- }
RunUIMessageLoop(browser_process.get());
}
« no previous file with comments | « no previous file | chrome/browser/browsing_data_appcache_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698