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

Unified Diff: chrome/browser/sync_file_system/local/local_file_sync_service.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_file_system/local/local_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_service.cc b/chrome/browser/sync_file_system/local/local_file_sync_service.cc
index 25fc1ee3faa1de5ff32d8b6c9def7f95447b7533..e62b953e5c198ce7c73800637ee9104e164084fc 100644
--- a/chrome/browser/sync_file_system/local/local_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/local/local_file_sync_service.cc
@@ -345,9 +345,8 @@ LocalFileSyncService::LocalFileSyncService(Profile* profile,
sync_context_(new LocalFileSyncContext(
profile_->GetPath(),
env_override,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI).get(),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)
- .get())),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::UI).get(),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO).get())),
local_change_processor_(nullptr) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
sync_context_->AddOriginChangeObserver(this);

Powered by Google App Engine
This is Rietveld 408576698