| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 void OnChangedMetricsReportingState(bool enabled); | 194 void OnChangedMetricsReportingState(bool enabled); |
| 195 | 195 |
| 196 // Loads brand code on I/O enabled thread and stores to Local State. | 196 // Loads brand code on I/O enabled thread and stores to Local State. |
| 197 void LoadBrandCodeFromFile(); | 197 void LoadBrandCodeFromFile(); |
| 198 | 198 |
| 199 // Called after all post-EULA blocking tasks have been completed. | 199 // Called after all post-EULA blocking tasks have been completed. |
| 200 void OnEulaBlockingTasksDone(); | 200 void OnEulaBlockingTasksDone(); |
| 201 | 201 |
| 202 // Shows update screen and starts update process. | 202 // Shows update screen and starts update process. |
| 203 void InitiateOOBEUpdate(); | 203 void InitiateOOBEUpdate(); |
| 204 void InitiateOOBEUpdateHelper(); |
| 204 | 205 |
| 205 // Actions that should be done right after EULA is accepted, | 206 // Actions that should be done right after EULA is accepted, |
| 206 // before update check. | 207 // before update check. |
| 207 void PerformPostEulaActions(); | 208 void PerformPostEulaActions(); |
| 208 | 209 |
| 209 // Actions that should be done right after update stage is finished. | 210 // Actions that should be done right after update stage is finished. |
| 210 void PerformOOBECompletedActions(); | 211 void PerformOOBECompletedActions(); |
| 211 | 212 |
| 212 // Overridden from BaseScreenDelegate: | 213 // Overridden from BaseScreenDelegate: |
| 213 void OnExit(BaseScreen& screen, | 214 void OnExit(BaseScreen& screen, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 BaseScreen* hid_screen_ = nullptr; | 424 BaseScreen* hid_screen_ = nullptr; |
| 424 | 425 |
| 425 base::WeakPtrFactory<WizardController> weak_factory_; | 426 base::WeakPtrFactory<WizardController> weak_factory_; |
| 426 | 427 |
| 427 DISALLOW_COPY_AND_ASSIGN(WizardController); | 428 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 428 }; | 429 }; |
| 429 | 430 |
| 430 } // namespace chromeos | 431 } // namespace chromeos |
| 431 | 432 |
| 432 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 433 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |