| 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 dafcc21cfe32e869c2632e1e869c0c5b3a47a448..4e330714c5f80bddb8981467681eb9f62916b1f6 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),
|
|
|