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

Unified Diff: google_apis/gaia/gaia_constants.cc

Issue 14169010: Remove support for ClientOAuth from GaiaAuthFetcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 8 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 | « google_apis/gaia/gaia_constants.h ('k') | google_apis/gaia/gaia_urls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_constants.cc
diff --git a/google_apis/gaia/gaia_constants.cc b/google_apis/gaia/gaia_constants.cc
index 0dd5236853b80fea91353d6252e72f3f9f4943a5..4ac9ea42813cce106671cbc7b0afea8b5e597f05 100644
--- a/google_apis/gaia/gaia_constants.cc
+++ b/google_apis/gaia/gaia_constants.cc
@@ -48,44 +48,7 @@ const char kObfuscatedGaiaId[] = "obfuscatedGaiaId";
// the ClientOAuth endpoint protocol. The comment above each constant explains
// what value is associated with that key.
-// Canonical email and password of the account to sign in.
+// Canonical email of the account to sign in.
const char kClientOAuthEmailKey[] = "email";
-const char kClientOAuthPasswordKey[] = "password";
-
-// Scopes required for the returned oauth2 token. For GaiaAuthFetcher, the
-// value is the OAuthLogin scope.
-const char kClientOAuthScopesKey[] = "scopes";
-
-// Chrome's client id from the API console.
-const char kClientOAuthOAuth2ClientIdKey[] = "oauth2_client_id";
-
-// A friendly name to describe this instance of chrome to the user.
-const char kClientOAuthFriendlyDeviceNameKey[] = "friendly_device_name";
-
-// A list of challenge types that chrome accepts. At a minimum this must
-// include Captcha. To support OTPs should also include TwoFactor.
-const char kClientOAuthAcceptsChallengesKey[] = "accepts_challenges";
-
-// The locale of the browser, so that ClientOAuth can return localized error
-// messages.
-const char kClientOAuthLocaleKey[] = "locale";
-
-// The name of the web-based fallback method to use if ClientOAuth decides it
-// cannot continue otherwise. Note that this name has a dot because its in
-// sub dictionary.
-const char kClientOAuthFallbackNameKey[] = "fallback.name";
-
-// The following three key names are used with ClientOAuth challenge responses.
-
-// The type of response. Must match the name given in the response to the
-// original ClientOAuth request and is a subset of the challenge types listed
-// in kClientOAuthAcceptsChallengesKey from that original request.
-const char kClientOAuthNameKey[] = "name";
-
-// The challenge token received in the original ClientOAuth request.
-const char kClientOAuthChallengeTokenKey[] = "challenge_token";
-
-// The dictionary that contains the challenge response.
-const char kClientOAuthchallengeReplyKey[] = "challenge_reply";
} // namespace GaiaConstants
« no previous file with comments | « google_apis/gaia/gaia_constants.h ('k') | google_apis/gaia/gaia_urls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698