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

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, 1 month 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: 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 4168e84b3a3e4eca1023c97dff0777595040d352..0b9180199472056f104b9d505ca6a1ab09e0e3be 100644
--- a/components/policy/core/common/cloud/cloud_policy_constants.h
+++ b/components/policy/core/common/cloud/cloud_policy_constants.h
@@ -109,13 +109,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 retail kiosk
+ // device. Even though retail mode is
+ // deprecated, we still check for this device
+ // mode so that if a device has still been
bartfab (slow) 2014/11/27 16:25:48 Nit: s/a device has still been left/an existing de
rkc 2014/12/01 19:15:05 Done.
+ // left 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.

Powered by Google App Engine
This is Rietveld 408576698