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

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: Fix issues based on feedback Created 7 years, 7 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
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..7286f6aefccfe140f79341d95ae32e0e32774322 100644
--- a/google_apis/gaia/gaia_constants.cc
+++ b/google_apis/gaia/gaia_constants.cc
@@ -32,6 +32,14 @@ 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";
+
+
Andrew T Wilson (Slow) 2013/05/31 12:57:28 nit: remove extra line.
pavely 2013/06/04 00:49:59 Done.
// Service for LSO endpoint of Google that exposes OAuth APIs.
const char kLSOService[] = "lso";

Powered by Google App Engine
This is Rietveld 408576698