Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3775)

Unified Diff: chrome/browser/chromeos/login/wizard_controller.h

Issue 2771803003: Don't start FRE from the login screen (Closed)
Patch Set: Improve comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e78b2c5da99c97845f6e273d28d4c58d27d08697..aafbec4a63876c5fe1fc59b33f6d3e0b9c3d3325 100644
--- a/chrome/browser/chromeos/login/wizard_controller.h
+++ b/chrome/browser/chromeos/login/wizard_controller.h
@@ -39,6 +39,7 @@ class SharkConnectionListener;
namespace chromeos {
+class AutoEnrollmentController;
class ErrorScreen;
struct Geoposition;
class LoginDisplayHost;
@@ -306,6 +307,11 @@ class WizardController : public BaseScreenDelegate,
// attestation-based enrollment if appropriate.
void StartEnrollmentScreen(bool force_interactive);
+ // Returns auto enrollment controller (lazily initializes one if it doesn't
+ // exist already).
+ AutoEnrollmentController* GetAutoEnrollmentController();
+
+ std::unique_ptr<AutoEnrollmentController> auto_enrollment_controller_;
std::unique_ptr<ScreenManager> screen_manager_;
// Whether to skip any screens that may normally be shown after login
@@ -380,10 +386,13 @@ class WizardController : public BaseScreenDelegate,
FRIEND_TEST_ALL_PREFIXES(EnrollmentScreenTest, TestCancel);
FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators);
+ FRIEND_TEST_ALL_PREFIXES(WizardControllerDeviceStateTest,
+ ControlFlowNoForcedReEnrollmentOnFirstBoot);
+ friend class WizardControllerBrokenLocalStateTest;
+ friend class WizardControllerDeviceStateTest;
friend class WizardControllerFlowTest;
friend class WizardControllerOobeResumeTest;
friend class WizardInProcessBrowserTest;
- friend class WizardControllerBrokenLocalStateTest;
std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_;
« no previous file with comments | « chrome/browser/chromeos/login/ui/mock_login_display_host.h ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698