| Index: components/signin/core/browser/signin_error_controller.cc
|
| diff --git a/components/signin/core/browser/signin_error_controller.cc b/components/signin/core/browser/signin_error_controller.cc
|
| index 2d35e85209672d342f4ebf38da09d7f801588ffb..1fa6e9f9112453b4fc0f73fa50392862f1642d5b 100644
|
| --- a/components/signin/core/browser/signin_error_controller.cc
|
| +++ b/components/signin/core/browser/signin_error_controller.cc
|
| @@ -64,13 +64,11 @@ void SigninErrorController::AuthStatusChanged() {
|
| }
|
|
|
| std::string account_id = (*it)->GetAccountId();
|
| - std::string username = (*it)->GetUsername();
|
|
|
| // Prioritize this error if it matches the previous |auth_error_|.
|
| if (error.state() == prev_state && account_id == prev_account_id) {
|
| auth_error_ = error;
|
| error_account_id_ = account_id;
|
| - error_username_ = username;
|
| error_changed = true;
|
| break;
|
| }
|
| @@ -80,7 +78,6 @@ void SigninErrorController::AuthStatusChanged() {
|
| if (!error_changed) {
|
| auth_error_ = error;
|
| error_account_id_ = account_id;
|
| - error_username_ = username;
|
| error_changed = true;
|
| }
|
| }
|
| @@ -89,7 +86,6 @@ void SigninErrorController::AuthStatusChanged() {
|
| // No provider reported an error, so clear the error we have now.
|
| auth_error_ = GoogleServiceAuthError::AuthErrorNone();
|
| error_account_id_.clear();
|
| - error_username_.clear();
|
| error_changed = true;
|
| }
|
|
|
|
|