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

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: rebase 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 | « chromeos/settings/cros_settings_names.h ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/settings/cros_settings_names.cc
diff --git a/chromeos/settings/cros_settings_names.cc b/chromeos/settings/cros_settings_names.cc
index 6cee9bc24b93b040dde10970d288db2644226fbc..6e29507b0f407a8cdaf2d89ba8e584447edd5e95 100644
--- a/chromeos/settings/cros_settings_names.cc
+++ b/chromeos/settings/cros_settings_names.cc
@@ -165,4 +165,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 device automatically reboots when
+// the user initiates a shutdown via an UI element. 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
« no previous file with comments | « chromeos/settings/cros_settings_names.h ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698