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

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: modifications suggested by stevenjb 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..97715b0eeba61e4154004aafe880efe7f4a3ff53 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 true, all shutdown buttons in the UI will be replaced by
+// reboot buttons.
+const char kShutdownIsReboot[] = "cros.device.shutdown_is_reboot";
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698