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

Unified Diff: chrome/browser/chromeos/policy/enterprise_install_attributes.cc

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: chrome/browser/chromeos/policy/enterprise_install_attributes.cc
diff --git a/chrome/browser/chromeos/policy/enterprise_install_attributes.cc b/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
index 98ee128bd6e8506ee7515a098c2732eb54606155..9037f8e74d0b3cd1d4a1804e606297690afb169a 100644
--- a/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
+++ b/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
@@ -328,7 +328,7 @@ std::string EnterpriseInstallAttributes::GetDeviceModeString(DeviceMode mode) {
return EnterpriseInstallAttributes::kConsumerDeviceMode;
case DEVICE_MODE_ENTERPRISE:
return EnterpriseInstallAttributes::kEnterpriseDeviceMode;
- case DEVICE_MODE_RETAIL_KIOSK:
+ case DEVICE_MODE_LEGACY_RETAIL_MODE:
return EnterpriseInstallAttributes::kRetailKioskDeviceMode;
bartfab (slow) 2014/11/27 16:25:47 Nit: The |kRetailKioskDeviceMode| constant should
rkc 2014/12/01 19:15:04 Done.
case DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH:
return EnterpriseInstallAttributes::kConsumerKioskDeviceMode;
@@ -347,7 +347,7 @@ DeviceMode EnterpriseInstallAttributes::GetDeviceModeFromString(
else if (mode == EnterpriseInstallAttributes::kEnterpriseDeviceMode)
return DEVICE_MODE_ENTERPRISE;
else if (mode == EnterpriseInstallAttributes::kRetailKioskDeviceMode)
- return DEVICE_MODE_RETAIL_KIOSK;
+ return DEVICE_MODE_LEGACY_RETAIL_MODE;
else if (mode == EnterpriseInstallAttributes::kConsumerKioskDeviceMode)
return DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH;
NOTREACHED() << "Unknown device mode string: " << mode;

Powered by Google App Engine
This is Rietveld 408576698