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

Unified Diff: chrome/browser/sync/profile_sync_test_util.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_test_util.cc
diff --git a/chrome/browser/sync/profile_sync_test_util.cc b/chrome/browser/sync/profile_sync_test_util.cc
index 38dcabb04772a12dbf836105f87b57d29252d4c2..c06b04f56078b2127358244c2362f614f03c8bfa 100644
--- a/chrome/browser/sync/profile_sync_test_util.cc
+++ b/chrome/browser/sync/profile_sync_test_util.cc
@@ -55,10 +55,6 @@ ProfileSyncService::InitParams CreateProfileSyncServiceParamsForTest(
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();
return init_params;

Powered by Google App Engine
This is Rietveld 408576698