| Index: chrome/browser/signin/signin_manager.h
|
| diff --git a/chrome/browser/signin/signin_manager.h b/chrome/browser/signin/signin_manager.h
|
| index 87d54f4a935050194fcfbe147670bef9633d47f8..a4709dfdd3c6db1fbf833413b040d56288688a4e 100644
|
| --- a/chrome/browser/signin/signin_manager.h
|
| +++ b/chrome/browser/signin/signin_manager.h
|
| @@ -40,6 +40,10 @@ class Profile;
|
| class PrefService;
|
| class SigninGlobalError;
|
|
|
| +namespace policy {
|
| +class CloudPolicyClient;
|
| +}
|
| +
|
| // Details for the Notification type GOOGLE_SIGNIN_SUCCESSFUL.
|
| // A listener might use this to make note of a username / password
|
| // pair for encryption keys.
|
| @@ -238,6 +242,19 @@ class SigninManager : public GaiaAuthConsumer,
|
| void HandleAuthError(const GoogleServiceAuthError& error,
|
| bool clear_transient_data);
|
|
|
| +#if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS)
|
| + // Callback invoked once policy registration is complete. If registration
|
| + // fails, |client| will be null.
|
| + void OnRegisteredForPolicy(scoped_ptr<policy::CloudPolicyClient> client);
|
| +
|
| + // Callback invoked when a policy fetch request has completed. |success| is
|
| + // true if policy was successfully fetched.
|
| + void OnPolicyFetchComplete(bool success);
|
| +#endif
|
| +
|
| + // Invoked once policy has been loaded to complete user signin.
|
| + void CompleteSigninAfterPolicyLoad();
|
| +
|
| // ClientLogin identity.
|
| std::string possibly_invalid_username_;
|
| std::string password_; // This is kept empty whenever possible.
|
|
|