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

Unified Diff: chromeos/settings/cros_settings_names.cc

Issue 776093004: Add device policy to disallow shutdown (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
Index: chromeos/settings/cros_settings_names.cc
diff --git a/chromeos/settings/cros_settings_names.cc b/chromeos/settings/cros_settings_names.cc
index 37fa6e8a2be845676da3607851c644320317f7fb..e4f2597170ddacd5513dd24ef21583a280abf7be 100644
--- a/chromeos/settings/cros_settings_names.cc
+++ b/chromeos/settings/cros_settings_names.cc
@@ -160,4 +160,9 @@ const char kDeviceDisabled[] = "cros.device_disabled";
// the device is disabled.
const char kDeviceDisabledMessage[] = "cros.disabled_state.message";
+// A boolean pref that indicates whether the user is allowed to shut down the
+// device. If set to false, all shutdown buttons in the UI will be replaced by
+// reboot buttons.
+const char kShutdownAllowed[] = "cros.device.shutdown_allowed";
stevenjb 2014/12/05 20:30:48 nit: "ShutdownAllowed" implies that we disable shu
cschuet (SLOW) 2014/12/08 14:37:43 Acknowledged.
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698