diff options
author | kochi@chromium.org <kochi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-08 08:36:31 +0000 |
---|---|---|
committer | kochi@chromium.org <kochi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-08 08:36:31 +0000 |
commit | 50597887e4917657f7002901d48342b13114fa42 (patch) | |
tree | e4b05d8c271046939601be6d699ba94b9918eba1 | |
parent | f2aaf05e97120e8a3880b881e34b2f3fc17256cf (diff) | |
download | chromium_src-50597887e4917657f7002901d48342b13114fa42.zip chromium_src-50597887e4917657f7002901d48342b13114fa42.tar.gz chromium_src-50597887e4917657f7002901d48342b13114fa42.tar.bz2 |
Use auth/drive scope, instead of auth/drive.file scope
For full access to Drive, we need less restrictive scope.
https://www.googleapis.com/auth/drive.file only allows accessing files
which is created on its own (i.e. Chrome), which is useless for
file browser purpose. Instead, we have to use
https://www.googleapis.com/auth/drive scope.
BUG=chromium:127728
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10832201
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150518 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/chromeos/gdata/operations_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/gdata/operations_base.cc b/chrome/browser/chromeos/gdata/operations_base.cc index b2a1d46..4ba592e 100644 --- a/chrome/browser/chromeos/gdata/operations_base.cc +++ b/chrome/browser/chromeos/gdata/operations_base.cc @@ -50,7 +50,7 @@ const char kUserContentScope[] = "https://docs.googleusercontent.com/"; const char kContactsScope[] = "https://www.google.com/m8/feeds/"; // OAuth scope for Drive API. -const char kDriveScope[] = "https://www.googleapis.com/auth/drive.file"; +const char kDriveScope[] = "https://www.googleapis.com/auth/drive"; const char kDriveAppsScope[] = "https://www.googleapis.com/auth/drive.apps"; const char kDriveAppsReadonlyScope[] = "https://www.googleapis.com/auth/drive.apps.readonly"; |