| Index: chrome/browser/chromeos/login/google_authenticator.h
|
| diff --git a/chrome/browser/chromeos/login/google_authenticator.h b/chrome/browser/chromeos/login/google_authenticator.h
|
| index d0651fa3fc00a373b46a59058ab7a74e7e211f64..06218b4db37799ddc144026461d241794d091ef6 100644
|
| --- a/chrome/browser/chromeos/login/google_authenticator.h
|
| +++ b/chrome/browser/chromeos/login/google_authenticator.h
|
| @@ -100,6 +100,8 @@ class GoogleAuthenticator : public Authenticator, public GaiaAuthConsumer {
|
| const std::string& login_token,
|
| const std::string& login_captcha);
|
|
|
| + const GoogleServiceAuthError& last_error() { return last_error_; }
|
| +
|
| // Callbacks from GaiaAuthFetcher
|
| virtual void OnClientLoginFailure(
|
| const GoogleServiceAuthError& error);
|
| @@ -197,6 +199,8 @@ class GoogleAuthenticator : public Authenticator, public GaiaAuthConsumer {
|
| bool checked_for_localaccount_; // needed because empty localaccount_ is ok.
|
| Lock localaccount_lock_; // a lock around checked_for_localaccount_.
|
|
|
| + GoogleServiceAuthError last_error_;
|
| +
|
| friend class GoogleAuthenticatorTest;
|
| FRIEND_TEST_ALL_PREFIXES(GoogleAuthenticatorTest, SaltToAscii);
|
| FRIEND_TEST_ALL_PREFIXES(GoogleAuthenticatorTest, CheckTwoFactorResponse);
|
|
|