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

Unified Diff: components/policy/core/common/cloud/cloud_policy_constants.h

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « components/policy/core/common/cloud/cloud_policy_client.cc ('k') | components/user_manager/user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/cloud_policy_constants.h
diff --git a/components/policy/core/common/cloud/cloud_policy_constants.h b/components/policy/core/common/cloud/cloud_policy_constants.h
index 6033146b124f0efd086b2b9966d749bd6bb706e4..9d66db4c3892cb229fc00111c15f4388972dd4f7 100644
--- a/components/policy/core/common/cloud/cloud_policy_constants.h
+++ b/components/policy/core/common/cloud/cloud_policy_constants.h
@@ -113,13 +113,19 @@ enum DeviceManagementStatus {
// List of modes that the device can be locked into.
enum DeviceMode {
- DEVICE_MODE_PENDING, // The device mode is not yet available.
- DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned.
- DEVICE_MODE_CONSUMER, // The device is locally owned as consumer
- // device.
- DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise
- // device.
- DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device.
+ DEVICE_MODE_PENDING, // The device mode is not yet available.
+ DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned.
+ DEVICE_MODE_CONSUMER, // The device is locally owned as consumer
+ // device.
+ DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise
+ // device.
+ DEVICE_MODE_LEGACY_RETAIL_MODE, // The device is enrolled as a retail kiosk
+ // device. Even though retail mode is
+ // deprecated, we still check for this device
+ // mode so that if an existing device is
+ // still enrolled in retail mode, we take the
+ // appropriate action (currently, launching
+ // offline demo mode).
DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as
// consumer kiosk with ability to auto
// launch a kiosk webapp.
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_client.cc ('k') | components/user_manager/user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698