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

Unified Diff: ios/chrome/browser/sync/ios_chrome_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 | « ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
diff --git a/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc b/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
index 9bc40fc45acb59bf90ea0044d0f77fe51bd42527..f83e9782cb91672b4f5f09018829e6d0813f763b 100644
--- a/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
+++ b/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
@@ -38,7 +38,11 @@ CreateProfileSyncServiceParamsForTest(
init_params.url_request_context = browser_state->GetRequestContext();
init_params.debug_identifier = browser_state->GetDebugName();
init_params.channel = ::GetChannel();
- init_params.blocking_pool = web::WebThread::GetBlockingPool();
+ base::SequencedWorkerPool* blocking_pool = web::WebThread::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 | « ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698