Index: components/signin/core/browser/signin_error_controller.h |
diff --git a/components/signin/core/browser/signin_error_controller.h b/components/signin/core/browser/signin_error_controller.h |
index 368b916a84eae7162bb245b7adff0e97964e2f52..2eea9a50da6d10710b9f9396d1f60b75b7dfafa9 100644 |
--- a/components/signin/core/browser/signin_error_controller.h |
+++ b/components/signin/core/browser/signin_error_controller.h |
@@ -26,9 +26,6 @@ class SigninErrorController : public KeyedService { |
// Returns the account id with the status specified by GetAuthStatus(). |
virtual std::string GetAccountId() const = 0; |
- // Returns the username with the status specified by GetAuthStatus(). |
- virtual std::string GetUsername() const = 0; |
- |
// API invoked by SigninErrorController to get the current auth status of |
// the various signed in services. |
virtual GoogleServiceAuthError GetAuthStatus() const = 0; |
@@ -63,7 +60,6 @@ class SigninErrorController : public KeyedService { |
void RemoveObserver(Observer* observer); |
const std::string& error_account_id() const { return error_account_id_; } |
- const std::string& error_username() const { return error_username_; } |
const GoogleServiceAuthError& auth_error() const { return auth_error_; } |
private: |
@@ -71,7 +67,6 @@ class SigninErrorController : public KeyedService { |
// The account that generated the last auth error. |
std::string error_account_id_; |
- std::string error_username_; |
// The auth error detected the last time AuthStatusChanged() was invoked (or |
// NONE if AuthStatusChanged() has never been invoked). |