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

Unified Diff: chrome/browser/chromeos/login/user.h

Issue 11649055: OAuth2 sign-in flow for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 7 years, 11 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/browser/chromeos/login/user.h
diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h
index f3f0b0969e8dbf261a11ac4b8ff236556915170d..43079c2d8ea340ff4b276fc454087f74c17ead61 100644
--- a/chrome/browser/chromeos/login/user.h
+++ b/chrome/browser/chromeos/login/user.h
@@ -48,10 +48,12 @@ class User {
// User OAuth token status according to the last check.
typedef enum {
- OAUTH_TOKEN_STATUS_UNKNOWN = 0,
- OAUTH_TOKEN_STATUS_INVALID = 1,
- OAUTH_TOKEN_STATUS_VALID = 2,
- } OAuthTokenStatus;
+ OAUTH_TOKEN_STATUS_UNKNOWN = 0,
+ OAUTH1_TOKEN_STATUS_INVALID = 1,
+ OAUTH1_TOKEN_STATUS_VALID = 2,
+ OAUTH2_TOKEN_STATUS_INVALID = 3,
+ OAUTH2_TOKEN_STATUS_VALID = 4,
+ } OAuthTokenStatus;
// Returned as |image_index| when user-selected file or photo is used as
// user image.

Powered by Google App Engine
This is Rietveld 408576698