| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENTERPRISE_ENROLLMENT_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENTERPRISE_ENROLLMENT_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENTERPRISE_ENROLLMENT_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENTERPRISE_ENROLLMENT_SCREEN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 policy::CloudPolicySubsystem::ErrorDetails error_details) OVERRIDE; | 77 policy::CloudPolicySubsystem::ErrorDetails error_details) OVERRIDE; |
| 78 | 78 |
| 79 protected: | 79 protected: |
| 80 // Overriden from ViewScreen: | 80 // Overriden from ViewScreen: |
| 81 virtual EnterpriseEnrollmentView* AllocateView() OVERRIDE; | 81 virtual EnterpriseEnrollmentView* AllocateView() OVERRIDE; |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 void HandleAuthError(const GoogleServiceAuthError& error); | 84 void HandleAuthError(const GoogleServiceAuthError& error); |
| 85 | 85 |
| 86 // Starts the Lockbox storage process. | 86 // Starts the Lockbox storage process. |
| 87 void WriteInstallAttributesData(const ClientLoginResult& result); | 87 void WriteInstallAttributesData(); |
| 88 | 88 |
| 89 scoped_ptr<GaiaAuthFetcher> auth_fetcher_; | 89 scoped_ptr<GaiaAuthFetcher> auth_fetcher_; |
| 90 std::string user_; | 90 std::string user_; |
| 91 std::string captcha_token_; | 91 std::string captcha_token_; |
| 92 scoped_ptr<policy::CloudPolicySubsystem::ObserverRegistrar> registrar_; | 92 scoped_ptr<policy::CloudPolicySubsystem::ObserverRegistrar> registrar_; |
| 93 ScopedRunnableMethodFactory<EnterpriseEnrollmentScreen> | 93 ScopedRunnableMethodFactory<EnterpriseEnrollmentScreen> |
| 94 runnable_method_factory_; | 94 runnable_method_factory_; |
| 95 | 95 |
| 96 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentScreen); | 96 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentScreen); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace chromeos | 99 } // namespace chromeos |
| 100 | 100 |
| 101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENTERPRISE_ENROLLMENT_SCREEN_H_ | 101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENTERPRISE_ENROLLMENT_SCREEN_H_ |
| OLD | NEW |