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

Unified Diff: chrome/browser/sync/profile_sync_test_util.cc

Issue 2658743002: [Sync] Add ProfileSyncService::GetModelTypeStoreFactory. (Closed)
Patch Set: Fix iOS PSS factory. Created 3 years, 11 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/sync/profile_sync_service_factory.cc ('k') | components/browser_sync/profile_sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c06b04f56078b2127358244c2362f614f03c8bfa..c59b3c0a1c8c724319511c8ed8fd5a2d83a586f9 100644
--- a/chrome/browser/sync/profile_sync_test_util.cc
+++ b/chrome/browser/sync/profile_sync_test_util.cc
@@ -55,7 +55,12 @@ ProfileSyncService::InitParams CreateProfileSyncServiceParamsForTest(
init_params.url_request_context = profile->GetRequestContext();
init_params.debug_identifier = profile->GetDebugName();
init_params.channel = chrome::GetChannel();
- init_params.blocking_pool = content::BrowserThread::GetBlockingPool();
+ base::SequencedWorkerPool* blocking_pool =
+ content::BrowserThread::GetBlockingPool();
+ init_params.blocking_task_runner =
+ blocking_pool->GetSequencedTaskRunnerWithShutdownBehavior(
+ blocking_pool->GetSequenceToken(),
+ base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
return init_params;
}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_factory.cc ('k') | components/browser_sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698