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 <string> | 9 #include <string> |
10 | 10 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 void OnKioskAutolaunchCanceled(); | 208 void OnKioskAutolaunchCanceled(); |
209 void OnKioskAutolaunchConfirmed(); | 209 void OnKioskAutolaunchConfirmed(); |
210 void OnKioskEnableCompleted(); | 210 void OnKioskEnableCompleted(); |
211 void OnWrongHWIDWarningSkipped(); | 211 void OnWrongHWIDWarningSkipped(); |
212 void OnAutoEnrollmentCheckCompleted(); | 212 void OnAutoEnrollmentCheckCompleted(); |
213 void OnTermsOfServiceDeclined(); | 213 void OnTermsOfServiceDeclined(); |
214 void OnTermsOfServiceAccepted(); | 214 void OnTermsOfServiceAccepted(); |
215 void OnControllerPairingFinished(); | 215 void OnControllerPairingFinished(); |
216 void OnHostPairingFinished(); | 216 void OnHostPairingFinished(); |
217 | 217 |
| 218 // Callback function after setting MetricsReporting. |
| 219 void InitiateMetricsReportingChangeCallback(bool enabled); |
| 220 |
218 // Loads brand code on I/O enabled thread and stores to Local State. | 221 // Loads brand code on I/O enabled thread and stores to Local State. |
219 void LoadBrandCodeFromFile(); | 222 void LoadBrandCodeFromFile(); |
220 | 223 |
221 // Called after all post-EULA blocking tasks have been completed. | 224 // Called after all post-EULA blocking tasks have been completed. |
222 void OnEulaBlockingTasksDone(); | 225 void OnEulaBlockingTasksDone(); |
223 | 226 |
224 // Shows update screen and starts update process. | 227 // Shows update screen and starts update process. |
225 void InitiateOOBEUpdate(); | 228 void InitiateOOBEUpdate(); |
226 | 229 |
227 // Actions that should be done right after EULA is accepted, | 230 // Actions that should be done right after EULA is accepted, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 base::Closure on_timezone_resolved_for_testing_; | 398 base::Closure on_timezone_resolved_for_testing_; |
396 | 399 |
397 base::WeakPtrFactory<WizardController> weak_factory_; | 400 base::WeakPtrFactory<WizardController> weak_factory_; |
398 | 401 |
399 DISALLOW_COPY_AND_ASSIGN(WizardController); | 402 DISALLOW_COPY_AND_ASSIGN(WizardController); |
400 }; | 403 }; |
401 | 404 |
402 } // namespace chromeos | 405 } // namespace chromeos |
403 | 406 |
404 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 407 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
OLD | NEW |