| 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_
|
|
|