| Index: chrome/browser/sync_file_system/sync_file_system_service_factory.cc
|
| diff --git a/chrome/browser/sync_file_system/sync_file_system_service_factory.cc b/chrome/browser/sync_file_system/sync_file_system_service_factory.cc
|
| index 8c9112e92a017dfe006add1df7f40b6e22cf5b02..186aaa3a18b286e255faf4ee1071b37231355dd4 100644
|
| --- a/chrome/browser/sync_file_system/sync_file_system_service_factory.cc
|
| +++ b/chrome/browser/sync_file_system/sync_file_system_service_factory.cc
|
| @@ -83,9 +83,12 @@ SyncFileSystemServiceFactory::BuildServiceInstanceFor(
|
| scoped_refptr<base::SequencedWorkerPool> worker_pool(
|
| content::BrowserThread::GetBlockingPool());
|
|
|
| + ProfileOAuth2TokenService* token_service =
|
| + ProfileOAuth2TokenServiceFactory::GetForProfile(profile);
|
| scoped_ptr<drive::DriveAPIService> drive_api_service(
|
| new drive::DriveAPIService(
|
| - ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
|
| + token_service,
|
| + token_service->GetPrimaryAccountId(),
|
| context->GetRequestContext(),
|
| worker_pool.get(),
|
| base_drive_url, base_download_url, wapi_base_url,
|
|
|