| 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_WIZARD_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 static const char kOutOfBoxScreenName[]; | 135 static const char kOutOfBoxScreenName[]; |
| 136 static const char kTestNoScreenName[]; | 136 static const char kTestNoScreenName[]; |
| 137 static const char kEulaScreenName[]; | 137 static const char kEulaScreenName[]; |
| 138 static const char kHTMLPageScreenName[]; | 138 static const char kHTMLPageScreenName[]; |
| 139 static const char kEnterpriseEnrollmentScreenName[]; | 139 static const char kEnterpriseEnrollmentScreenName[]; |
| 140 | 140 |
| 141 private: | 141 private: |
| 142 // Exit handlers: | 142 // Exit handlers: |
| 143 void OnNetworkConnected(); | 143 void OnNetworkConnected(); |
| 144 void OnNetworkOffline(); | 144 void OnNetworkOffline(); |
| 145 void OnAccountCreateBack(); | |
| 146 void OnAccountCreated(); | |
| 147 void OnConnectionFailed(); | 145 void OnConnectionFailed(); |
| 148 void OnUpdateCompleted(); | 146 void OnUpdateCompleted(); |
| 149 void OnEulaAccepted(); | 147 void OnEulaAccepted(); |
| 150 void OnUpdateErrorCheckingForUpdate(); | 148 void OnUpdateErrorCheckingForUpdate(); |
| 151 void OnUpdateErrorUpdating(); | 149 void OnUpdateErrorUpdating(); |
| 152 void OnUserImageSelected(); | 150 void OnUserImageSelected(); |
| 153 void OnUserImageSkipped(); | 151 void OnUserImageSkipped(); |
| 154 void OnRegistrationSuccess(); | 152 void OnRegistrationSuccess(); |
| 155 void OnRegistrationSkipped(); | 153 void OnRegistrationSkipped(); |
| 156 void OnEnterpriseEnrollmentDone(); | 154 void OnEnterpriseEnrollmentDone(); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators); | 227 FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators); |
| 230 friend class WizardControllerFlowTest; | 228 friend class WizardControllerFlowTest; |
| 231 friend class WizardInProcessBrowserTest; | 229 friend class WizardInProcessBrowserTest; |
| 232 | 230 |
| 233 DISALLOW_COPY_AND_ASSIGN(WizardController); | 231 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 234 }; | 232 }; |
| 235 | 233 |
| 236 } // namespace chromeos | 234 } // namespace chromeos |
| 237 | 235 |
| 238 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 236 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |