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

Unified Diff: chrome/browser/sync/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: 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 8cc748b70b94c258798fdc4437adda7ecb23a88b..37da702f1ab00dd65a66cf84d8a6dd7c7e930959 100644
--- a/chrome/browser/sync/profile_sync_service_factory.cc
+++ b/chrome/browser/sync/profile_sync_service_factory.cc
@@ -183,11 +183,6 @@ KeyedService* ProfileSyncServiceFactory::BuildServiceInstanceFor(
init_params.url_request_context = profile->GetRequestContext();
init_params.debug_identifier = profile->GetDebugName();
init_params.channel = chrome::GetChannel();
-
- init_params.db_thread = content::BrowserThread::GetTaskRunnerForThread(
- content::BrowserThread::DB);
- init_params.file_thread = content::BrowserThread::GetTaskRunnerForThread(
- content::BrowserThread::FILE);
init_params.blocking_pool = content::BrowserThread::GetBlockingPool();
auto pss = base::MakeUnique<ProfileSyncService>(std::move(init_params));
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_test_util.cc » ('j') | components/history/core/browser/history_model_worker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698