| Index: components/signin/core/browser/signin_error_controller_unittest.cc
|
| diff --git a/components/signin/core/browser/signin_error_controller_unittest.cc b/components/signin/core/browser/signin_error_controller_unittest.cc
|
| index d0cffdd0912b51b6ad79dab74617c7d0783f0006..9257a01ba2b89ef445a569ce9cd458705b89e781 100644
|
| --- a/components/signin/core/browser/signin_error_controller_unittest.cc
|
| +++ b/components/signin/core/browser/signin_error_controller_unittest.cc
|
| @@ -153,13 +153,14 @@ TEST_F(SigninErrorControllerTest, 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 array does not match the number of auth error types");
|
| + static_assert(arraysize(table) ==
|
| + GoogleServiceAuthError::NUM_STATES -
|
| + GoogleServiceAuthError::NUM_DEPRECATED_STATES,
|
| + "table array does not match the number of auth error types");
|
|
|
| for (size_t i = 0; i < arraysize(table); ++i) {
|
| FakeAuthStatusProvider provider(error_controller_.get());
|
|
|