| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 void OnChangedMetricsReportingState(bool enabled); | 177 void OnChangedMetricsReportingState(bool enabled); |
| 178 | 178 |
| 179 // Loads brand code on I/O enabled thread and stores to Local State. | 179 // Loads brand code on I/O enabled thread and stores to Local State. |
| 180 void LoadBrandCodeFromFile(); | 180 void LoadBrandCodeFromFile(); |
| 181 | 181 |
| 182 // Called after all post-EULA blocking tasks have been completed. | 182 // Called after all post-EULA blocking tasks have been completed. |
| 183 void OnEulaBlockingTasksDone(); | 183 void OnEulaBlockingTasksDone(); |
| 184 | 184 |
| 185 // Shows update screen and starts update process. | 185 // Shows update screen and starts update process. |
| 186 void InitiateOOBEUpdate(); | 186 void InitiateOOBEUpdate(); |
| 187 void StartOOBEUpdate(); |
| 187 | 188 |
| 188 // Actions that should be done right after EULA is accepted, | 189 // Actions that should be done right after EULA is accepted, |
| 189 // before update check. | 190 // before update check. |
| 190 void PerformPostEulaActions(); | 191 void PerformPostEulaActions(); |
| 191 | 192 |
| 192 // Actions that should be done right after update stage is finished. | 193 // Actions that should be done right after update stage is finished. |
| 193 void PerformOOBECompletedActions(); | 194 void PerformOOBECompletedActions(); |
| 194 | 195 |
| 195 // Overridden from BaseScreenDelegate: | 196 // Overridden from BaseScreenDelegate: |
| 196 void OnExit(BaseScreen& screen, | 197 void OnExit(BaseScreen& screen, |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 BaseScreen* hid_screen_ = nullptr; | 405 BaseScreen* hid_screen_ = nullptr; |
| 405 | 406 |
| 406 base::WeakPtrFactory<WizardController> weak_factory_; | 407 base::WeakPtrFactory<WizardController> weak_factory_; |
| 407 | 408 |
| 408 DISALLOW_COPY_AND_ASSIGN(WizardController); | 409 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 409 }; | 410 }; |
| 410 | 411 |
| 411 } // namespace chromeos | 412 } // namespace chromeos |
| 412 | 413 |
| 413 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 414 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |