Commit 4425d289 authored by kochi@chromium.org's avatar kochi@chromium.org

Add drive.apps scope for Drive authorized apps access.

BUG=chromium:138667
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/10818019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149388 0039d316-1c4b-4281-b951-d872f2087c98
parent 8308b1d1
...@@ -97,8 +97,8 @@ void AuthOperation::Start() { ...@@ -97,8 +97,8 @@ void AuthOperation::Start() {
scopes.push_back(kSpreadsheetsScope); scopes.push_back(kSpreadsheetsScope);
scopes.push_back(kUserContentScope); scopes.push_back(kUserContentScope);
scopes.push_back(kContactsScope); scopes.push_back(kContactsScope);
if (gdata::util::IsDriveV2ApiEnabled()) // Drive App scope is required for even WAPI v3 apps access.
scopes.push_back(kDriveAppsScope); scopes.push_back(kDriveAppsScope);
oauth2_access_token_fetcher_.reset(new OAuth2AccessTokenFetcher( oauth2_access_token_fetcher_.reset(new OAuth2AccessTokenFetcher(
this, g_browser_process->system_request_context())); this, g_browser_process->system_request_context()));
NotifyStart(); NotifyStart();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment