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

Unified Diff: chrome/browser/chromeos/login/startup_utils.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/startup_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/startup_utils.h
diff --git a/chrome/browser/chromeos/login/startup_utils.h b/chrome/browser/chromeos/login/startup_utils.h
index f0111170258c20bf1d1d441574a9c76d3ae0314b..027bb9c2536b6f9fb478e9892b972e4323614002 100644
--- a/chrome/browser/chromeos/login/startup_utils.h
+++ b/chrome/browser/chromeos/login/startup_utils.h
@@ -13,7 +13,7 @@ class PrefRegistrySimple;
namespace chromeos {
-// Static utitliy methods used in startup time to get/change bits of device
+// Static utility methods used at startup time to get/change bits of device
// state.
class StartupUtils {
public:
@@ -38,6 +38,12 @@ class StartupUtils {
// Marks device registered. i.e. second part of OOBE is completed.
static void MarkDeviceRegistered(const base::Closure& done_callback);
+ // Returns whether enrollment recovery is required.
+ static bool IsEnrollmentRecoveryRequired();
+
+ // Mark a device as requiring enrollment recovery.
+ static void MarkEnrollmentRecoveryRequired();
+
// Returns initial locale from local settings.
static std::string GetInitialLocale();
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/startup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698