X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fchromeos%2Flogin%2Fwizard_controller.h;h=f230ab5f8c99270e1dc9945e0075aa98906a5f8d;hb=490a4587e7e356282cb1453efaf36de4acc9762f;hp=ea5c83da73a63f0942f0105a14ee16dec80f6f1d;hpb=3a51af92707b9c600d06a404c9db8f07fcd50959;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/chromeos/login/wizard_controller.h b/src/chrome/browser/chromeos/login/wizard_controller.h index ea5c83d..f230ab5 100644 --- a/src/chrome/browser/chromeos/login/wizard_controller.h +++ b/src/chrome/browser/chromeos/login/wizard_controller.h @@ -94,6 +94,13 @@ class WizardController : public ScreenObserver { // Checks whether OOBE should start enrollment automatically. static bool ShouldAutoStartEnrollment(); + // 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, @@ -353,6 +360,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_;