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

Unified Diff: sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java

Issue 22868002: Add constant for Sync OAuth2 scope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add reference to GaiaConstants::kChromeSyncOAuth2Scope Created 7 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java
diff --git a/sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java b/sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java
index 9d82ab84962c9500859239c5d639a1c454d533d4..128bf7b50855e4a8025ba72e0a3624210f173760 100644
--- a/sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java
+++ b/sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java
@@ -86,8 +86,13 @@ public class SyncStatusHelper {
}
}
+ @Deprecated
public static final String AUTH_TOKEN_TYPE_SYNC = "chromiumsync";
+ // This should always have the same value as GaiaConstants::kChromeSyncOAuth2Scope.
+ public static final String CHROME_SYNC_OAUTH2_SCOPE =
+ "https://www.googleapis.com/auth/chromesync";
+
public static final String TAG = "SyncStatusHelper";
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698