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

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

Issue 265823009: Let SyncManagerFactory create different types of sync managers according to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot Created 6 years, 7 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_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 87836f27758d3573346c7505f3d92c60121a22e0..5eebb3dea249f3d1ba3b7c935792f93da6b21382 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -523,7 +523,8 @@ void ProfileSyncService::InitializeBackend(bool delete_stale_data) {
credentials,
delete_stale_data,
scoped_ptr<syncer::SyncManagerFactory>(
- new syncer::SyncManagerFactory).Pass(),
+ new syncer::SyncManagerFactory(
+ syncer::SyncManagerFactory::NORMAL)).Pass(),
backend_unrecoverable_error_handler.Pass(),
&browser_sync::ChromeReportUnrecoverableError,
network_resources_.get());
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc ('k') | sync/internal_api/public/sync_manager_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698