| Index: chrome/browser/chromeos/login/enterprise_enrollment_screen.h
|
| diff --git a/chrome/browser/chromeos/login/enterprise_enrollment_screen.h b/chrome/browser/chromeos/login/enterprise_enrollment_screen.h
|
| index dfeb647ec91bc6d99a549b77acf6a6a09e78da24..a670904739ef6ce0160ca59d33057d62e56a3290 100644
|
| --- a/chrome/browser/chromeos/login/enterprise_enrollment_screen.h
|
| +++ b/chrome/browser/chromeos/login/enterprise_enrollment_screen.h
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chromeos/login/enterprise_enrollment_screen_actor.h"
|
| #include "chrome/browser/chromeos/login/wizard_screen.h"
|
| +#include "chrome/browser/policy/browser_policy_connector.h"
|
| #include "chrome/browser/policy/cloud_policy_subsystem.h"
|
| #include "chrome/common/net/gaia/gaia_auth_fetcher.h"
|
|
|
| @@ -44,6 +45,8 @@ class EnterpriseEnrollmentScreen
|
| const std::string& password,
|
| const std::string& captcha,
|
| const std::string& access_code) OVERRIDE;
|
| + virtual void OnOAuthTokenAvailable(const std::string& user,
|
| + const std::string& token) OVERRIDE;
|
| virtual void OnAuthCancelled() OVERRIDE;
|
| virtual void OnConfirmationClosed() OVERRIDE;
|
| virtual bool GetInitialUser(std::string* user) OVERRIDE;
|
| @@ -75,6 +78,11 @@ class EnterpriseEnrollmentScreen
|
| // Starts the Lockbox storage process.
|
| void WriteInstallAttributesData();
|
|
|
| + // Kicks off the policy infrastructure to register with the service.
|
| + void RegisterForDevicePolicy(
|
| + const std::string& token,
|
| + policy::BrowserPolicyConnector::TokenType token_type);
|
| +
|
| EnterpriseEnrollmentScreenActor* actor_;
|
| bool is_showing_;
|
| scoped_ptr<GaiaAuthFetcher> auth_fetcher_;
|
|
|