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 0016b96500d10dcfd145c0e1e449efc7d5c6aef8..33bb0c675422cbe253b57b8b7264dde3887cb84c 100644 |
--- a/chrome/browser/sync/profile_sync_service_factory.cc |
+++ b/chrome/browser/sync/profile_sync_service_factory.cc |
@@ -107,8 +107,8 @@ KeyedService* ProfileSyncServiceFactory::BuildServiceInstanceFor( |
// once http://crbug.com/171406 has been fixed. |
AboutSigninInternalsFactory::GetForProfile(profile); |
- const GURL sync_service_url = |
- ProfileSyncService::GetSyncServiceURL(*CommandLine::ForCurrentProcess()); |
+ const GURL sync_service_url = ProfileSyncService::GetSyncServiceURL( |
+ *base::CommandLine::ForCurrentProcess()); |
scoped_ptr<SupervisedUserSigninManagerWrapper> signin_wrapper( |
new SupervisedUserSigninManagerWrapper(profile, signin)); |
@@ -132,15 +132,9 @@ KeyedService* ProfileSyncServiceFactory::BuildServiceInstanceFor( |
ProfileSyncService* pss = new ProfileSyncService( |
scoped_ptr<ProfileSyncComponentsFactory>( |
new ProfileSyncComponentsFactoryImpl( |
- profile, |
- CommandLine::ForCurrentProcess(), |
- sync_service_url, |
- token_service, |
- url_request_context_getter)), |
- profile, |
- signin_wrapper.Pass(), |
- token_service, |
- behavior); |
+ profile, base::CommandLine::ForCurrentProcess(), sync_service_url, |
+ token_service, url_request_context_getter)), |
+ profile, signin_wrapper.Pass(), token_service, behavior); |
pss->factory()->RegisterDataTypes(pss); |
pss->Initialize(); |