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

Unified Diff: chrome/browser/net/gaia/gaia_oauth_fetcher.h

Issue 11649055: OAuth2 sign-in flow for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/net/gaia/gaia_oauth_fetcher.h
diff --git a/chrome/browser/net/gaia/gaia_oauth_fetcher.h b/chrome/browser/net/gaia/gaia_oauth_fetcher.h
index 46389ca3b9c4a5ada458aaeabd14105b96b23951..da34d9947dd2b27c598c44e626b9f23d8704dc0f 100644
--- a/chrome/browser/net/gaia/gaia_oauth_fetcher.h
+++ b/chrome/browser/net/gaia/gaia_oauth_fetcher.h
@@ -47,9 +47,10 @@ class GaiaOAuthFetcher : public net::URLFetcherDelegate {
OAUTH1_LOGIN,
OAUTH1_REQUEST_TOKEN,
OAUTH1_ALL_ACCESS_TOKEN,
+ OAUTH2_LOGIN,
OAUTH2_SERVICE_ACCESS_TOKEN,
- USER_INFO,
OAUTH2_REVOKE_TOKEN,
+ USER_INFO,
} RequestType;
GaiaOAuthFetcher(GaiaOAuthConsumer* consumer,
@@ -68,10 +69,10 @@ class GaiaOAuthFetcher : public net::URLFetcherDelegate {
void StartGetOAuthTokenRequest();
// Performs account login based on OAuth1 access token and its secret.
- void StartOAuthLogin(const char* source,
- const char* service,
- const std::string& oauth1_access_token,
- const std::string& oauth1_access_token_secret);
+ void StartOAuth1Login(const char* source,
+ const char* service,
+ const std::string& oauth1_access_token,
+ const std::string& oauth1_access_token_secret);
// Obtains an OAuth1 access token and secret
//

Powered by Google App Engine
This is Rietveld 408576698