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

Unified Diff: chrome/browser/chromeos/policy/auto_enrollment_client.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/policy/auto_enrollment_client.h
diff --git a/chrome/browser/chromeos/policy/auto_enrollment_client.h b/chrome/browser/chromeos/policy/auto_enrollment_client.h
index 91e504da9d1315569c30e88011aa35a008611253..ec3d931c56443483ed146ebe19c7cdf97214eecd 100644
--- a/chrome/browser/chromeos/policy/auto_enrollment_client.h
+++ b/chrome/browser/chromeos/policy/auto_enrollment_client.h
@@ -34,20 +34,21 @@ namespace policy {
class DeviceManagementRequestJob;
class DeviceManagementService;
-// Indicates the current state of the auto-enrollment check.
+// Indicates the current state of the auto-enrollment check. (Numeric values
+// are just to make reading of log files easier.)
enum AutoEnrollmentState {
// Not yet started.
- AUTO_ENROLLMENT_STATE_IDLE,
+ AUTO_ENROLLMENT_STATE_IDLE = 0,
// Working, another event will be fired eventually.
- AUTO_ENROLLMENT_STATE_PENDING,
+ AUTO_ENROLLMENT_STATE_PENDING = 1,
// Failed to connect to DMServer.
- AUTO_ENROLLMENT_STATE_CONNECTION_ERROR,
+ AUTO_ENROLLMENT_STATE_CONNECTION_ERROR = 2,
// Connection successful, but the server failed to generate a valid reply.
- AUTO_ENROLLMENT_STATE_SERVER_ERROR,
+ AUTO_ENROLLMENT_STATE_SERVER_ERROR = 3,
// Check completed successfully, enrollment should be triggered.
- AUTO_ENROLLMENT_STATE_TRIGGER_ENROLLMENT,
+ AUTO_ENROLLMENT_STATE_TRIGGER_ENROLLMENT = 4,
// Check completed successfully, enrollment not applicable.
- AUTO_ENROLLMENT_STATE_NO_ENROLLMENT,
+ AUTO_ENROLLMENT_STATE_NO_ENROLLMENT = 5,
};
// Interacts with the device management service and determines whether this

Powered by Google App Engine
This is Rietveld 408576698