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

Unified Diff: components/browser_sync/profile_sync_components_factory_impl.cc

Issue 2538023002: [Sync] Pass a TaskRunner into SBHI/SBHC, not a thread or message loop. (Closed)
Patch Set: Remove thread check in destructor. Created 4 years 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: components/browser_sync/profile_sync_components_factory_impl.cc
diff --git a/components/browser_sync/profile_sync_components_factory_impl.cc b/components/browser_sync/profile_sync_components_factory_impl.cc
index 19a0187b149c420e7d1d44fc7d32ba46e5b47b7b..5a55d2c1771d5390d58137c86eb6d851883b1e3c 100644
--- a/components/browser_sync/profile_sync_components_factory_impl.cc
+++ b/components/browser_sync/profile_sync_components_factory_impl.cc
@@ -313,8 +313,8 @@ ProfileSyncComponentsFactoryImpl::CreateSyncBackendHost(
invalidation::InvalidationService* invalidator,
const base::WeakPtr<syncer::SyncPrefs>& sync_prefs,
const base::FilePath& sync_folder) {
- return new syncer::SyncBackendHostImpl(name, sync_client_, ui_thread_,
- invalidator, sync_prefs, sync_folder);
+ return new syncer::SyncBackendHostImpl(name, sync_client_, invalidator,
+ sync_prefs, sync_folder);
}
std::unique_ptr<syncer::LocalDeviceInfoProvider>
« no previous file with comments | « components/browser_sync/abstract_profile_sync_service_test.cc ('k') | components/browser_sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698