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

Unified Diff: components/signin/core/signin_client.h

Issue 205703005: Componentize SigninIdAccountHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: components/signin/core/signin_client.h
diff --git a/components/signin/core/signin_client.h b/components/signin/core/signin_client.h
index 779d2f8b22f506b7ebd6a5a2ab8254e2357b0cd2..9616500e9cf97c45e867b65a2b7c331641607cf4 100644
--- a/components/signin/core/signin_client.h
+++ b/components/signin/core/signin_client.h
@@ -7,6 +7,10 @@
#include "components/signin/core/webdata/token_web_data.h"
+#if !defined(OS_CHROMEOS)
+class SigninManager;
+#endif
+
class TokenWebData;
namespace net {
@@ -27,6 +31,18 @@ class SigninClient {
// Returns the URL request context information associated with the client.
virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
+
+ // Called when Google signin has succeeded.
+ virtual void GoogleSigninSucceeded(const std::string& username,
+ const std::string& password) {}
+
+#if !defined(OS_CHROMEOS)
+ // Called when |manager| is initialized.
+ virtual void SigninManagerInitialized(SigninManager* manager) {}
+
+ // Called when |manager| is shut down.
+ virtual void SigninManagerShutdown(SigninManager* manager) {}
+#endif
};
#endif // COMPONENTS_SIGNIN_CORE_SIGNIN_CLIENT_H_
« chrome/browser/signin/signin_manager.cc ('K') | « chrome/browser/signin/signin_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698