diff options
author | fgorski@chromium.org <fgorski@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 03:23:16 +0000 |
---|---|---|
committer | fgorski@chromium.org <fgorski@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 03:23:16 +0000 |
commit | bdbe2b126637d186dbcb049276522411013f04ca (patch) | |
tree | 8bc020bbbab0aedcbcdf64be7dd261a00db06fcd /chrome/browser/signin | |
parent | 921d7af9ba4a54a98ba6bb1bd9234613075dff5b (diff) | |
download | chromium_src-bdbe2b126637d186dbcb049276522411013f04ca.zip chromium_src-bdbe2b126637d186dbcb049276522411013f04ca.tar.gz chromium_src-bdbe2b126637d186dbcb049276522411013f04ca.tar.bz2 |
* Introducing Service Error and Unexpected Response for better handling of
errors Google Authentication service included in response body.
* Adding parsing to the Failure situation in OAuth2MintTokenFlow
BUG=121976
Review URL: https://chromiumcodereview.appspot.com/17286013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/signin')
-rw-r--r-- | chrome/browser/signin/signin_global_error_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/signin/signin_global_error_unittest.cc b/chrome/browser/signin/signin_global_error_unittest.cc index 51b96e2..e0aeba0 100644 --- a/chrome/browser/signin/signin_global_error_unittest.cc +++ b/chrome/browser/signin/signin_global_error_unittest.cc @@ -107,6 +107,8 @@ TEST_F(SigninGlobalErrorTest, AuthStatusEnumerateAllErrors) { { GoogleServiceAuthError::TWO_FACTOR, true }, { GoogleServiceAuthError::REQUEST_CANCELED, true }, { GoogleServiceAuthError::HOSTED_NOT_ALLOWED, true }, + { GoogleServiceAuthError::UNEXPECTED_SERVICE_RESPONSE, true }, + { GoogleServiceAuthError::SERVICE_ERROR, true }, }; COMPILE_ASSERT(ARRAYSIZE_UNSAFE(table) == GoogleServiceAuthError::NUM_STATES, kTable_size_does_not_match_number_of_auth_error_types); |