Chromium Code Reviews| Index: chrome/browser/signin/signin_global_error_unittest.cc |
| diff --git a/chrome/browser/signin/signin_global_error_unittest.cc b/chrome/browser/signin/signin_global_error_unittest.cc |
| index 610273a993e106f47febdc63c3c9833ac3d53ed0..99bd075f25005f7fc419d10e045e11aa3bf694ec 100644 |
| --- a/chrome/browser/signin/signin_global_error_unittest.cc |
| +++ b/chrome/browser/signin/signin_global_error_unittest.cc |
| @@ -139,7 +139,7 @@ TEST_F(SigninGlobalErrorTest, AuthStatusEnumerateAllErrors) { |
| { GoogleServiceAuthError::SERVICE_UNAVAILABLE, true }, |
| { GoogleServiceAuthError::TWO_FACTOR, true }, |
| { GoogleServiceAuthError::REQUEST_CANCELED, true }, |
| - { GoogleServiceAuthError::HOSTED_NOT_ALLOWED, true }, |
| + { GoogleServiceAuthError::HOSTED_NOT_ALLOWED_DEPRECATED, true }, |
| { GoogleServiceAuthError::UNEXPECTED_SERVICE_RESPONSE, true }, |
| { GoogleServiceAuthError::SERVICE_ERROR, true }, |
| { GoogleServiceAuthError::WEB_LOGIN_REQUIRED, true }, |
| @@ -151,6 +151,9 @@ TEST_F(SigninGlobalErrorTest, AuthStatusEnumerateAllErrors) { |
| testing_profile_manager()->UpdateLastUser(profile()); |
| for (size_t i = 0; i < arraysize(table); ++i) { |
| + if (table[i].error_state == |
| + GoogleServiceAuthError::HOSTED_NOT_ALLOWED_DEPRECATED) |
| + continue; |
|
Greg Levin
2016/09/08 19:56:35
I couldn't remove HOSTED_NOT_ALLOWED from this tab
Roger Tawa OOO till Jul 10th
2016/09/08 21:05:58
Got it, I see what you mean. I guess the problem
|
| base::HistogramTester histogram_tester; |
| FakeAuthStatusProvider provider(error_controller()); |
| provider.SetAuthError(kTestAccountId, |