| Index: chrome/browser/chromeos/login/wizard_controller.h
|
| diff --git a/chrome/browser/chromeos/login/wizard_controller.h b/chrome/browser/chromeos/login/wizard_controller.h
|
| index 492fd2e9d8afb1e801412c386ef2a347e1cbc45c..8d298b45375ea8bae517dd267a759185c20e9d6e 100644
|
| --- a/chrome/browser/chromeos/login/wizard_controller.h
|
| +++ b/chrome/browser/chromeos/login/wizard_controller.h
|
| @@ -101,9 +101,13 @@ class WizardController : public ScreenObserver {
|
| // Checks whether OOBE should start enrollment automatically.
|
| static bool ShouldAutoStartEnrollment();
|
|
|
| - // Checks whether OOBE should recover enrollment.
|
| + // Checks whether OOBE should recover enrollment. Note that this flips to
|
| + // false once device policy has been restored as a part of recovery.
|
| static bool ShouldRecoverEnrollment();
|
|
|
| + // Obtains domain the device used to be enrolled to from install attributes.
|
| + static std::string GetEnrollmentRecoveryDomain();
|
| +
|
| // Shows the first screen defined by |first_screen_name| or by default
|
| // if the parameter is empty. Takes ownership of |screen_parameters|.
|
| void Init(const std::string& first_screen_name,
|
| @@ -373,6 +377,10 @@ class WizardController : public ScreenObserver {
|
| // EULA is accepted.
|
| bool skip_update_enroll_after_eula_;
|
|
|
| + // Whether enrollment will be or has been recovered in the current wizard
|
| + // instance.
|
| + bool enrollment_recovery_;
|
| +
|
| // Time when the EULA was accepted. Used to measure the duration from the EULA
|
| // acceptance until the Sign-In screen is displayed.
|
| base::Time time_eula_accepted_;
|
|
|