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

Unified Diff: chrome/browser/sync/profile_sync_service_factory.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
Index: chrome/browser/sync/profile_sync_service_factory.cc
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc
index b4abcdf7a5f4f65d95d3fd232c15057cd4ab9d28..7b984703a611d819259a3afb5ff88e0c76b716d7 100644
--- a/chrome/browser/sync/profile_sync_service_factory.cc
+++ b/chrome/browser/sync/profile_sync_service_factory.cc
@@ -179,11 +179,10 @@ KeyedService* ProfileSyncServiceFactory::BuildServiceInstanceFor(
init_params.debug_identifier = profile->GetDebugName();
init_params.channel = chrome::GetChannel();
- init_params.db_thread = content::BrowserThread::GetMessageLoopProxyForThread(
+ init_params.db_thread = content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::DB);
- init_params.file_thread =
- content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::FILE);
+ init_params.file_thread = content::BrowserThread::GetTaskRunnerForThread(
+ content::BrowserThread::FILE);
init_params.blocking_pool = content::BrowserThread::GetBlockingPool();
auto pss = base::WrapUnique(new ProfileSyncService(std::move(init_params)));
« no previous file with comments | « chrome/browser/sync/glue/theme_data_type_controller.cc ('k') | chrome/browser/sync/profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698