Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1421)

Unified Diff: google_apis/gaia/gaia_constants.cc

Issue 15421011: Use OAuth2 token for sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/gaia/gaia_constants.h ('k') | jingle/notifier/base/notifier_options_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_constants.cc
diff --git a/google_apis/gaia/gaia_constants.cc b/google_apis/gaia/gaia_constants.cc
index e8a7beb9b362ec85e6b9e815fa1a540dd3164d63..c4086fe93af020b75ec04e4c80e7baca2b663db7 100644
--- a/google_apis/gaia/gaia_constants.cc
+++ b/google_apis/gaia/gaia_constants.cc
@@ -32,6 +32,13 @@ const char kDeviceManagementServiceOAuth[] =
// OAuth2 scope for access to all Google APIs.
const char kAnyApiOAuth2Scope[] = "https://www.googleapis.com/auth/any-api";
+// OAuth2 scope for access to Chrome sync APIs
+const char kChromeSyncOAuth2Scope[] =
+ "https://www.googleapis.com/auth/chromesync";
+// OAuth2 scope for access to Google Talk APIs (XMPP).
+const char kGoogleTalkOAuth2Scope[] =
+ "https://www.googleapis.com/auth/googletalk";
+
// Service for LSO endpoint of Google that exposes OAuth APIs.
const char kLSOService[] = "lso";
« no previous file with comments | « google_apis/gaia/gaia_constants.h ('k') | jingle/notifier/base/notifier_options_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698