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

Unified Diff: google_apis/gaia/google_service_auth_error.h

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_urls.cc ('k') | google_apis/gaia/google_service_auth_error.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/google_service_auth_error.h
diff --git a/google_apis/gaia/google_service_auth_error.h b/google_apis/gaia/google_service_auth_error.h
index 29f83f9815082d3097eb2f5e5879549afbdf81a1..0ac09742f3caca6f35e0adc5f70dedbc09d712e6 100644
--- a/google_apis/gaia/google_service_auth_error.h
+++ b/google_apis/gaia/google_service_auth_error.h
@@ -145,26 +145,6 @@ class GoogleServiceAuthError {
const GURL& captcha_image_url,
const GURL& captcha_unlock_url);
- // Construct a CAPTCHA_REQUIRED error with CAPTCHA challenge data from the
- // ClientOAuth endpoint.
- static GoogleServiceAuthError FromCaptchaChallenge(
- const std::string& captcha_token,
- const GURL& captcha_audio_url,
- const GURL& captcha_image_url,
- int image_width,
- int image_height);
-
- // Construct a TWO_FACTOR error with second-factor challenge data.
- static GoogleServiceAuthError FromSecondFactorChallenge(
- const std::string& captcha_token,
- const std::string& prompt_text,
- const std::string& alternate_text,
- int field_length);
-
- // Construct an INVALID_GAIA_CREDENTIALS error from a ClientOAuth response.
- // |data| is the JSON response from the server explaning the error.
- static GoogleServiceAuthError FromClientOAuthError(const std::string& data);
-
// Provided for convenience for clients needing to reset an instance to NONE.
// (avoids err_ = GoogleServiceAuthError(GoogleServiceAuthError::NONE), due
// to explicit class and State enum relation. Note: shouldn't be inlined!
« no previous file with comments | « google_apis/gaia/gaia_urls.cc ('k') | google_apis/gaia/google_service_auth_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698