Index: chrome/browser/sync/profile_sync_factory_impl.cc |
=================================================================== |
--- chrome/browser/sync/profile_sync_factory_impl.cc (revision 58702) |
+++ chrome/browser/sync/profile_sync_factory_impl.cc (working copy) |
@@ -76,9 +76,11 @@ |
command_line_(command_line) { |
} |
-ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService() { |
+ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService( |
+ const std::string& cros_user) { |
+ |
ProfileSyncService* pss = new ProfileSyncService( |
- this, profile_, browser_defaults::kBootstrapSyncAuthentication); |
+ this, profile_, cros_user); |
// App sync is enabled by default. Register unless explicitly |
// disabled. |