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

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..9c2b43eb03b6cb737a0046e273eff59d85c716b5 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
bartfab (slow) 2014/12/15 18:01:57 Nit: Reword this comment to talk about reboots rat
cschuet (SLOW) 2014/12/16 10:02:08 Done.
+// device. If set to true, all shutdown buttons in the UI will be replaced by
+// reboot buttons.
+const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown";
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698