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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.h

Issue 374573006: Force enterprise enrollment flow upon detection of inconsistent state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 5 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 unified diff | Download patch
OLDNEW
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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Checks whether screen show time should be tracked with UMA. 94 // Checks whether screen show time should be tracked with UMA.
95 static bool IsOOBEStepToTrack(const std::string& screen_id); 95 static bool IsOOBEStepToTrack(const std::string& screen_id);
96 96
97 // Skips any screens that may normally be shown after login (registration, 97 // Skips any screens that may normally be shown after login (registration,
98 // Terms of Service, user image selection). 98 // Terms of Service, user image selection).
99 static void SkipPostLoginScreensForTesting(); 99 static void SkipPostLoginScreensForTesting();
100 100
101 // Checks whether OOBE should start enrollment automatically. 101 // Checks whether OOBE should start enrollment automatically.
102 static bool ShouldAutoStartEnrollment(); 102 static bool ShouldAutoStartEnrollment();
103 103
104 // Checks whether OOBE should recover enrollment.
105 static bool ShouldRecoverEnrollment();
106
104 // Shows the first screen defined by |first_screen_name| or by default 107 // Shows the first screen defined by |first_screen_name| or by default
105 // if the parameter is empty. Takes ownership of |screen_parameters|. 108 // if the parameter is empty. Takes ownership of |screen_parameters|.
106 void Init(const std::string& first_screen_name, 109 void Init(const std::string& first_screen_name,
107 scoped_ptr<base::DictionaryValue> screen_parameters); 110 scoped_ptr<base::DictionaryValue> screen_parameters);
108 111
109 // Advances to screen defined by |screen_name| and shows it. 112 // Advances to screen defined by |screen_name| and shows it.
110 void AdvanceToScreen(const std::string& screen_name); 113 void AdvanceToScreen(const std::string& screen_name);
111 114
112 // Advances to login screen. Should be used in for testing only. 115 // Advances to login screen. Should be used in for testing only.
113 void SkipToLoginForTesting(const LoginScreenContext& context); 116 void SkipToLoginForTesting(const LoginScreenContext& context);
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 base::Closure on_timezone_resolved_for_testing_; 412 base::Closure on_timezone_resolved_for_testing_;
410 413
411 base::WeakPtrFactory<WizardController> weak_factory_; 414 base::WeakPtrFactory<WizardController> weak_factory_;
412 415
413 DISALLOW_COPY_AND_ASSIGN(WizardController); 416 DISALLOW_COPY_AND_ASSIGN(WizardController);
414 }; 417 };
415 418
416 } // namespace chromeos 419 } // namespace chromeos
417 420
418 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 421 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/login_display_host_impl.cc ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698