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

Unified Diff: chrome/common/chrome_switches.cc

Issue 15421011: Use OAuth2 token for sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add commandline switch to toggle between OAuth2 and ClientLogin token 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
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 93a192373a08c50259e1ee01e87757eceae83120..642736f37abe654ceaa65de692d15c14dd4e7200 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1379,6 +1379,9 @@ const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp";
// occur.
const char kSyncEnableDeferredStartup[] = "sync-enable-deferred-startup";
+// Enables use of OAuth2 token in sync components instead of ClientLogin token.
+const char kSyncEnableOAuth2Token[] = "sync-enable-oauth2-token";
+
// Enables directory support for sync filesystem
const char kSyncfsEnableDirectoryOperation[] =
"enable-syncfs-directory-operation";

Powered by Google App Engine
This is Rietveld 408576698