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

Unified Diff: ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc

Issue 2489433002: [Sync] Move thread checking into the ModelSafeWorker interface. (Closed)
Patch Set: Improve/add comments. Created 4 years, 1 month 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: ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc
diff --git a/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc b/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc
index 35ba6ed02835f87eed59b6d5e1d3303627d6f945..45b759c71e8af33ccf64210fb53bd5022060dd5a 100644
--- a/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc
+++ b/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc
@@ -141,10 +141,6 @@ IOSChromeProfileSyncServiceFactory::BuildServiceInstanceFor(
init_params.url_request_context = browser_state->GetRequestContext();
init_params.debug_identifier = browser_state->GetDebugName();
init_params.channel = ::GetChannel();
- init_params.db_thread =
- web::WebThread::GetTaskRunnerForThread(web::WebThread::DB);
- init_params.file_thread =
- web::WebThread::GetTaskRunnerForThread(web::WebThread::FILE);
init_params.blocking_pool = web::WebThread::GetBlockingPool();
auto pss = base::MakeUnique<ProfileSyncService>(std::move(init_params));

Powered by Google App Engine
This is Rietveld 408576698