| 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..539ae5e103e3667ef0e7547cec540cc2e8233c28 100644
|
| --- a/chrome/browser/signin/signin_global_error_unittest.cc
|
| +++ b/chrome/browser/signin/signin_global_error_unittest.cc
|
| @@ -139,13 +139,14 @@ TEST_F(SigninGlobalErrorTest, AuthStatusEnumerateAllErrors) {
|
| { GoogleServiceAuthError::SERVICE_UNAVAILABLE, true },
|
| { GoogleServiceAuthError::TWO_FACTOR, true },
|
| { GoogleServiceAuthError::REQUEST_CANCELED, true },
|
| - { GoogleServiceAuthError::HOSTED_NOT_ALLOWED, true },
|
| { GoogleServiceAuthError::UNEXPECTED_SERVICE_RESPONSE, true },
|
| { GoogleServiceAuthError::SERVICE_ERROR, true },
|
| { GoogleServiceAuthError::WEB_LOGIN_REQUIRED, true },
|
| };
|
| - static_assert(arraysize(table) == GoogleServiceAuthError::NUM_STATES,
|
| - "table size should match number of auth error types");
|
| + static_assert(arraysize(table) ==
|
| + GoogleServiceAuthError::NUM_STATES -
|
| + GoogleServiceAuthError::NUM_DEPRECATED_STATES,
|
| + "table size should match number of auth error types");
|
|
|
| // Mark the profile with an active timestamp so profile_metrics logs it.
|
| testing_profile_manager()->UpdateLastUser(profile());
|
|
|