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

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

Issue 1422773004: [sync] Abstract most ProfileSyncService //chrome deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pss_chrome_signin_deps
Patch Set: Response to review Created 5 years, 1 month 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_service_factory.cc
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc
index 60b3f1db7524f5231ebb1ab38387c726ccbe1bd1..3116dc04c1ed5812e2c4a20e24495d3ea3d4c17f 100644
--- a/chrome/browser/sync/profile_sync_service_factory.cc
+++ b/chrome/browser/sync/profile_sync_service_factory.cc
@@ -188,7 +188,14 @@ KeyedService* ProfileSyncServiceFactory::BuildServiceInstanceFor(
new browser_sync::ChromeSyncClient(profile, sync_factory.Pass()));
ProfileSyncService* pss = new ProfileSyncService(
sync_client.Pass(), profile, signin_wrapper.Pass(), token_service,
- behavior, base::Bind(&UpdateNetworkTime));
+ behavior, base::Bind(&UpdateNetworkTime), profile->GetPath(),
+ profile->GetRequestContext(), profile->GetDebugName(),
+ chrome::GetChannel(),
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::DB),
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::FILE),
+ content::BrowserThread::GetBlockingPool());
pss->Initialize();
return pss;
}

Powered by Google App Engine
This is Rietveld 408576698