Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2376)

Unified Diff: chrome/browser/signin/signin_manager.h

Issue 9466022: Changes to the sign in manager in preparation for one-click sign in. This CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/signin/signin_manager.cc » ('j') | chrome/browser/signin/signin_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | chrome/browser/signin/signin_manager.cc » ('j') | chrome/browser/signin/signin_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698