| Index: chrome/browser/chromeos/drive/drive_integration_service.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| index 40e0e2ffa11d1b4bb67c8d9b8031f6597e847b08..7b5f7f56d7067cba93357660604eda93de315344 100644
|
| --- a/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| @@ -187,7 +187,7 @@ DriveIntegrationService::DriveIntegrationService(
|
| blocking_task_runner_ = blocking_pool->GetSequencedTaskRunner(
|
| blocking_pool->GetSequenceToken());
|
|
|
| - OAuth2TokenService* oauth_service =
|
| + ProfileOAuth2TokenService* oauth_service =
|
| ProfileOAuth2TokenServiceFactory::GetForProfile(profile);
|
|
|
| if (test_drive_service) {
|
| @@ -195,6 +195,7 @@ DriveIntegrationService::DriveIntegrationService(
|
| } else if (util::IsDriveV2ApiEnabled()) {
|
| drive_service_.reset(new DriveAPIService(
|
| oauth_service,
|
| + oauth_service->GetPrimaryAccountId(),
|
| g_browser_process->system_request_context(),
|
| blocking_task_runner_.get(),
|
| GURL(google_apis::DriveApiUrlGenerator::kBaseUrlForProduction),
|
| @@ -204,6 +205,7 @@ DriveIntegrationService::DriveIntegrationService(
|
| } else {
|
| drive_service_.reset(new GDataWapiService(
|
| oauth_service,
|
| + oauth_service->GetPrimaryAccountId(),
|
| g_browser_process->system_request_context(),
|
| blocking_task_runner_.get(),
|
| GURL(google_apis::GDataWapiUrlGenerator::kBaseUrlForProduction),
|
|
|