Index: chrome/browser/drive/gdata_wapi_service.cc |
diff --git a/chrome/browser/drive/gdata_wapi_service.cc b/chrome/browser/drive/gdata_wapi_service.cc |
index 5acad45f7f98417127c74afbf104914f3260d70c..907a0b442ba9884e41b0a64cf79be7707a35c656 100644 |
--- a/chrome/browser/drive/gdata_wapi_service.cc |
+++ b/chrome/browser/drive/gdata_wapi_service.cc |
@@ -148,7 +148,7 @@ GDataWapiService::~GDataWapiService() { |
sender_->auth_service()->RemoveObserver(this); |
} |
-void GDataWapiService::Initialize() { |
+void GDataWapiService::Initialize(const std::string& account_id) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
std::vector<std::string> scopes; |
@@ -158,8 +158,10 @@ void GDataWapiService::Initialize() { |
// Drive App scope is required for even WAPI v3 apps access. |
scopes.push_back(util::kDriveAppsScope); |
sender_.reset(new RequestSender( |
- new AuthService( |
- oauth2_token_service_, url_request_context_getter_, scopes), |
+ new AuthService(oauth2_token_service_, |
+ account_id, |
+ url_request_context_getter_, |
+ scopes), |
url_request_context_getter_, |
blocking_task_runner_.get(), |
custom_user_agent_)); |