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

Unified Diff: chrome/browser/importer/external_process_importer_client.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « chrome/browser/history/top_sites_factory.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/external_process_importer_client.cc
diff --git a/chrome/browser/importer/external_process_importer_client.cc b/chrome/browser/importer/external_process_importer_client.cc
index 7e0c4fd9ea5df4988db04c49cf19d3addaf84d90..61fce7ad5e94de43ff4ce6ba3ef72953198c079e 100644
--- a/chrome/browser/importer/external_process_importer_client.cc
+++ b/chrome/browser/importer/external_process_importer_client.cc
@@ -310,9 +310,10 @@ void ExternalProcessImporterClient::NotifyItemFinishedOnIOThread(
void ExternalProcessImporterClient::StartProcessOnIOThread(
BrowserThread::ID thread_id) {
- utility_process_host_ = UtilityProcessHost::Create(
- this, BrowserThread::GetMessageLoopProxyForThread(thread_id).get())
- ->AsWeakPtr();
+ utility_process_host_ =
+ UtilityProcessHost::Create(
+ this, BrowserThread::GetTaskRunnerForThread(thread_id).get())
+ ->AsWeakPtr();
utility_process_host_->SetName(l10n_util::GetStringUTF16(
IDS_UTILITY_PROCESS_PROFILE_IMPORTER_NAME));
utility_process_host_->DisableSandbox();
« no previous file with comments | « chrome/browser/history/top_sites_factory.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698