Index: components/signin/core/browser/fake_auth_status_provider.h |
diff --git a/components/signin/core/browser/fake_auth_status_provider.h b/components/signin/core/browser/fake_auth_status_provider.h |
index 91f10240ee600f86d396f254fa14e77801601f86..b35bc6e1f4b177bdd9dec09528423ee99c07b457 100644 |
--- a/components/signin/core/browser/fake_auth_status_provider.h |
+++ b/components/signin/core/browser/fake_auth_status_provider.h |
@@ -19,6 +19,7 @@ class FakeAuthStatusProvider |
// Sets the auth error that this provider reports to SigninErrorController. |
// Also notifies SigninErrorController via AuthStatusChanged(). |
void SetAuthError(const std::string& account_id, |
+ const std::string& username, |
const GoogleServiceAuthError& error); |
void set_error_without_status_change(const GoogleServiceAuthError& error) { |
@@ -27,11 +28,13 @@ class FakeAuthStatusProvider |
// AuthStatusProvider implementation. |
virtual std::string GetAccountId() const OVERRIDE; |
+ virtual std::string GetUsername() const OVERRIDE; |
virtual GoogleServiceAuthError GetAuthStatus() const OVERRIDE; |
private: |
SigninErrorController* error_provider_; |
std::string account_id_; |
+ std::string username_; |
GoogleServiceAuthError auth_error_; |
}; |