Index: chrome/browser/chromeos/login/wizard_controller.cc |
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc |
index 84a770db3f4eaa288b1cf94418e4f0c1ddd248f3..985a264e493b64a7629a850cd6e6550c49065dd4 100644 |
--- a/chrome/browser/chromeos/login/wizard_controller.cc |
+++ b/chrome/browser/chromeos/login/wizard_controller.cc |
@@ -1374,6 +1374,13 @@ void WizardController::SkipPostLoginScreensForTesting() { |
skip_post_login_screens_ = true; |
} |
+// static |
+bool WizardController::UsingHandsOffEnrollment() { |
+ return policy::DeviceCloudPolicyManagerChromeOS:: |
+ GetZeroTouchEnrollmentMode() == |
+ policy::ZeroTouchEnrollmentMode::HANDS_OFF; |
+} |
+ |
void WizardController::OnLocalStateInitialized(bool /* succeeded */) { |
if (GetLocalState()->GetInitializationStatus() != |
PrefService::INITIALIZATION_STATUS_ERROR) { |