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

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

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 0e8e876963f73cb336093233d32607647ad5c785..5f6ce7eb90fa7228ea21c4a26bb0af8aa6b2c818 100644
--- a/chrome/browser/sync/profile_sync_test_util.cc
+++ b/chrome/browser/sync/profile_sync_test_util.cc
@@ -52,11 +52,10 @@ 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::GetMessageLoopProxyForThread(
+ init_params.db_thread = content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::DB);
- init_params.file_thread =
- content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::FILE);
+ 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