| Index: chrome/browser/signin/signin_error_notifier_ash_unittest.cc
|
| diff --git a/chrome/browser/signin/signin_error_notifier_ash_unittest.cc b/chrome/browser/signin/signin_error_notifier_ash_unittest.cc
|
| index 3cb2e57be35ba301c01414836f0b61fe752d5f49..1b70f2e5c6d834b11aa63ba4e046d7868dc83679 100644
|
| --- a/chrome/browser/signin/signin_error_notifier_ash_unittest.cc
|
| +++ b/chrome/browser/signin/signin_error_notifier_ash_unittest.cc
|
| @@ -36,7 +36,6 @@ namespace test {
|
| namespace {
|
|
|
| static const char kTestAccountId[] = "testuser@test.com";
|
| -static const char kTestUsername[] = "testuser@test.com";
|
|
|
| // Notification ID corresponding to kProfileSigninNotificationId +
|
| // kTestAccountId.
|
| @@ -144,7 +143,6 @@ TEST_F(SigninErrorNotifierTest, ErrorAuthStatusProvider) {
|
| FakeAuthStatusProvider error_provider(error_controller_);
|
| error_provider.SetAuthError(
|
| kTestAccountId,
|
| - kTestUsername,
|
| GoogleServiceAuthError(
|
| GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
|
| ASSERT_TRUE(notification_ui_manager_->FindById(
|
| @@ -175,7 +173,6 @@ TEST_F(SigninErrorNotifierTest, MAYBE_AuthStatusProviderErrorTransition) {
|
| FakeAuthStatusProvider provider1(error_controller_);
|
| provider0.SetAuthError(
|
| kTestAccountId,
|
| - kTestUsername,
|
| GoogleServiceAuthError(
|
| GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
|
| ASSERT_TRUE(notification_ui_manager_->FindById(
|
| @@ -188,12 +185,10 @@ TEST_F(SigninErrorNotifierTest, MAYBE_AuthStatusProviderErrorTransition) {
|
| // Now set another auth error and clear the original.
|
| provider1.SetAuthError(
|
| kTestAccountId,
|
| - kTestUsername,
|
| GoogleServiceAuthError(
|
| GoogleServiceAuthError::UNEXPECTED_SERVICE_RESPONSE));
|
| provider0.SetAuthError(
|
| kTestAccountId,
|
| - kTestUsername,
|
| GoogleServiceAuthError::AuthErrorNone());
|
|
|
| ASSERT_TRUE(notification_ui_manager_->FindById(
|
| @@ -206,7 +201,7 @@ TEST_F(SigninErrorNotifierTest, MAYBE_AuthStatusProviderErrorTransition) {
|
| ASSERT_NE(new_message, message);
|
|
|
| provider1.SetAuthError(
|
| - kTestAccountId, kTestUsername, GoogleServiceAuthError::AuthErrorNone());
|
| + kTestAccountId, GoogleServiceAuthError::AuthErrorNone());
|
| ASSERT_FALSE(notification_ui_manager_->FindById(
|
| kNotificationId, NotificationUIManager::GetProfileID(profile_.get())));
|
| }
|
| @@ -243,7 +238,6 @@ TEST_F(SigninErrorNotifierTest, AuthStatusEnumerateAllErrors) {
|
| for (size_t i = 0; i < arraysize(table); ++i) {
|
| FakeAuthStatusProvider provider(error_controller_);
|
| provider.SetAuthError(kTestAccountId,
|
| - kTestUsername,
|
| GoogleServiceAuthError(table[i].error_state));
|
| const Notification* notification = notification_ui_manager_->FindById(
|
| kNotificationId, NotificationUIManager::GetProfileID(profile_.get()));
|
|
|