Chromium Code Reviews| Index: chrome/browser/signin/signin_manager.h |
| =================================================================== |
| --- chrome/browser/signin/signin_manager.h (revision 123466) |
| +++ chrome/browser/signin/signin_manager.h (working copy) |
| @@ -82,6 +82,11 @@ |
| // attempt. |
| void ProvideSecondFactorAccessCode(const std::string& access_code); |
| + // Attempt to sign in this user with existing credentials from the cookie jar. |
| + // Otherwise the result is the same as StartSignIn(). |
|
Andrew T Wilson (Slow)
2012/02/27 19:00:10
Can you clarify this - does this mean we try to lo
Roger Tawa OOO till Jul 10th
2012/02/29 21:02:54
No only one login, and this with no user interacti
|
| + virtual void StartSignInWithCredentials(const std::string& username, |
| + const std::string& password); |
| + |
| // Sign a user out, removing the preference, erasing all keys |
| // associated with the user, and canceling all auth in progress. |
| virtual void SignOut(); |
| @@ -101,10 +106,20 @@ |
| virtual void OnClientLoginSuccess(const ClientLoginResult& result) OVERRIDE; |
| virtual void OnClientLoginFailure( |
| const GoogleServiceAuthError& error) OVERRIDE; |
| + virtual void OnOAuthLoginTokenSuccess(const std::string& refresh_token, |
| + const std::string& access_token, |
| + int expires_in_secs) OVERRIDE; |
| + virtual void OnOAuthLoginTokenFailure( |
| + const GoogleServiceAuthError& error) OVERRIDE; |
| virtual void OnGetUserInfoSuccess(const UserInfoMap& data) OVERRIDE; |
| virtual void OnGetUserInfoFailure( |
| const GoogleServiceAuthError& error) OVERRIDE; |
| + virtual void OnTokenAuthSuccess(const net::ResponseCookies& cookies, |
| + const std::string& data) OVERRIDE; |
| virtual void OnTokenAuthFailure(const GoogleServiceAuthError& error) OVERRIDE; |
| + virtual void OnUberAuthTokenSuccess(const std::string& token) OVERRIDE; |
| + virtual void OnUberAuthTokenFailure( |
| + const GoogleServiceAuthError& error) OVERRIDE; |
| // content::NotificationObserver |
| virtual void Observe(int type, |