| Index: chrome/browser/drive/drive_api_service.cc
|
| diff --git a/chrome/browser/drive/drive_api_service.cc b/chrome/browser/drive/drive_api_service.cc
|
| index c2a5e348db2fa5ba42902b9ee59ed942adbb78c0..5526fbbb2f72d685ec2c98c1ae5aef08b49a14fb 100644
|
| --- a/chrome/browser/drive/drive_api_service.cc
|
| +++ b/chrome/browser/drive/drive_api_service.cc
|
| @@ -287,13 +287,12 @@ void DriveAPIService::Initialize(Profile* profile) {
|
| std::vector<std::string> scopes;
|
| scopes.push_back(kDriveScope);
|
| scopes.push_back(kDriveAppsReadonlyScope);
|
| - sender_.reset(new RequestSender(profile,
|
| - url_request_context_getter_,
|
| - blocking_task_runner_.get(),
|
| - scopes,
|
| - custom_user_agent_));
|
| - sender_->Initialize();
|
| -
|
| + sender_.reset(new RequestSender(
|
| + new google_apis::AuthService(
|
| + profile, url_request_context_getter_, scopes),
|
| + url_request_context_getter_,
|
| + blocking_task_runner_.get(),
|
| + custom_user_agent_));
|
| sender_->auth_service()->AddObserver(this);
|
| }
|
|
|
|
|