Chromium Code Reviews| 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..099b2ae9d3f88179c78a33f574e034269019afbb 100644 |
| --- a/chrome/browser/chromeos/login/enterprise_enrollment_screen.h |
| +++ b/chrome/browser/chromeos/login/enterprise_enrollment_screen.h |
| @@ -44,6 +44,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 +77,12 @@ class EnterpriseEnrollmentScreen |
| // Starts the Lockbox storage process. |
| void WriteInstallAttributesData(); |
| + // Kicks of the policy infrastructure to register with the service. Either |
|
pastarmovj
2011/08/03 15:01:56
s/of/off/
Mattias Nissler (ping if slow)
2011/08/04 09:58:59
Done.
|
| + // |gaia_auth_token| or |oauth_token| should be provided, the other one should |
| + // be empty. |
| + void RegisterForDevicePolicy(const std::string& gaia_auth_token, |
|
whywhat
2011/08/03 17:48:03
optional: maybe instead pass one string token and
Mattias Nissler (ping if slow)
2011/08/04 09:58:59
Done.
|
| + const std::string& oauth_token); |
| + |
| EnterpriseEnrollmentScreenActor* actor_; |
| bool is_showing_; |
| scoped_ptr<GaiaAuthFetcher> auth_fetcher_; |