| 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 e6be3df5ad685ee21f569496397fab312948776f..c7d431c97655ef71b44f4ddd7c475220c84356c5 100644
|
| --- a/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| @@ -137,7 +137,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) {
|
| @@ -145,6 +145,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),
|
| @@ -154,6 +155,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),
|
|
|