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

Side by Side Diff: chrome/common/net/gaia/google_service_auth_error.h

Issue 10411025: Reverted 136345 - Ran into GAIA dosserver issues in prod for http://accounts.google.com. We are goi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // A GoogleServiceAuthError is immutable, plain old data representing an 5 // A GoogleServiceAuthError is immutable, plain old data representing an
6 // error from an attempt to authenticate with a Google service. 6 // error from an attempt to authenticate with a Google service.
7 // It could be from Google Accounts itself, or any service using Google 7 // It could be from Google Accounts itself, or any service using Google
8 // Accounts (e.g expired credentials). It may contain additional data such as 8 // Accounts (e.g expired credentials). It may contain additional data such as
9 // captcha or OTP challenges. 9 // captcha or OTP challenges.
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // The GAIA user is not authorized to use the service. 48 // The GAIA user is not authorized to use the service.
49 USER_NOT_SIGNED_UP = 2, 49 USER_NOT_SIGNED_UP = 2,
50 50
51 // Could not connect to server to verify credentials. This could be in 51 // Could not connect to server to verify credentials. This could be in
52 // response to either failure to connect to GAIA or failure to connect to 52 // response to either failure to connect to GAIA or failure to connect to
53 // the service needing GAIA tokens during authentication. 53 // the service needing GAIA tokens during authentication.
54 CONNECTION_FAILED = 3, 54 CONNECTION_FAILED = 3,
55 55
56 // The user needs to satisfy a CAPTCHA challenge to unlock their account. 56 // The user needs to satisfy a CAPTCHA challenge to unlock their account.
57 // If no other information is available, this can be resolved by visiting 57 // If no other information is available, this can be resolved by visiting
58 // https://accounts.google.com/DisplayUnlockCaptcha. Otherwise, captcha() 58 // https://www.google.com/accounts/DisplayUnlockCaptcha. Otherwise,
59 // will provide details about the associated challenge. 59 // captcha() will provide details about the associated challenge.
60 CAPTCHA_REQUIRED = 4, 60 CAPTCHA_REQUIRED = 4,
61 61
62 // The user account has been deleted. 62 // The user account has been deleted.
63 ACCOUNT_DELETED = 5, 63 ACCOUNT_DELETED = 5,
64 64
65 // The user account has been disabled. 65 // The user account has been disabled.
66 ACCOUNT_DISABLED = 6, 66 ACCOUNT_DISABLED = 6,
67 67
68 // The service is not available; try again later. 68 // The service is not available; try again later.
69 SERVICE_UNAVAILABLE = 7, 69 SERVICE_UNAVAILABLE = 7,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const std::string& alternate_text, 193 const std::string& alternate_text,
194 int field_length); 194 int field_length);
195 195
196 State state_; 196 State state_;
197 Captcha captcha_; 197 Captcha captcha_;
198 SecondFactor second_factor_; 198 SecondFactor second_factor_;
199 int network_error_; 199 int network_error_;
200 }; 200 };
201 201
202 #endif // CHROME_COMMON_NET_GAIA_GOOGLE_SERVICE_AUTH_ERROR_H_ 202 #endif // CHROME_COMMON_NET_GAIA_GOOGLE_SERVICE_AUTH_ERROR_H_
OLDNEW
« no previous file with comments | « chrome/common/net/gaia/gaia_urls.cc ('k') | chrome/common/net/gaia/oauth_request_signer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698