Index: chrome/browser/chromeos/gdata/operations_base.cc |
diff --git a/chrome/browser/chromeos/gdata/operations_base.cc b/chrome/browser/chromeos/gdata/operations_base.cc |
index 91a6b44bb000c1d275a64a88f29ef775508de171..579091672fe5c6d4d47feaf9e36db92cd115b4c6 100644 |
--- a/chrome/browser/chromeos/gdata/operations_base.cc |
+++ b/chrome/browser/chromeos/gdata/operations_base.cc |
@@ -46,6 +46,9 @@ const char kDocsListScope[] = "https://docs.google.com/feeds/"; |
const char kSpreadsheetsScope[] = "https://spreadsheets.google.com/feeds/"; |
const char kUserContentScope[] = "https://docs.googleusercontent.com/"; |
+// OAuth scope for the Contacts API. |
+const char kContactsScope[] = "https://www.google.com/m8/feeds/"; |
+ |
// OAuth scope for Drive API. |
const char kDriveAppsScope[] = "https://www.googleapis.com/auth/drive.apps"; |
@@ -71,6 +74,7 @@ void AuthOperation::Start() { |
scopes.push_back(kDocsListScope); |
scopes.push_back(kSpreadsheetsScope); |
scopes.push_back(kUserContentScope); |
+ scopes.push_back(kContactsScope); |
if (gdata::util::IsDriveV2ApiEnabled()) |
scopes.push_back(kDriveAppsScope); |
oauth2_access_token_fetcher_.reset(new OAuth2AccessTokenFetcher( |