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

Unified Diff: chrome/browser/chromeos/policy/proto/chrome_device_policy.proto

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
Index: chrome/browser/chromeos/policy/proto/chrome_device_policy.proto
diff --git a/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto b/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto
index b23a172ae1774be49978b374e963aa8a6f2812ea..56e4a2551fdb4e8b579a2981262841330b2af510 100644
--- a/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto
+++ b/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto
@@ -584,6 +584,16 @@ message SAMLSettingsProto {
optional bool transfer_saml_cookies = 1;
}
+message RebootOnShutdownProto {
+ // Determines whether the device automatically reboots whenever the user shuts
+ // it down. If this flag is set to true, shutdown is forbidden and UI elements
+ // trigger a device reboot instead of a power off. This policy affects
+ // shutdowns triggered from the UI only. If the user shuts down the device
+ // using the power button, it will not automatically reboot, even if the
+ // policy is enabled.
+ optional bool reboot_on_shutdown = 1 [default = false];
+}
+
message ChromeDeviceSettingsProto {
optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
optional UserWhitelistProto user_whitelist = 2;
@@ -618,4 +628,5 @@ message ChromeDeviceSettingsProto {
optional AutoCleanupSettigsProto auto_clean_up_settings = 31;
optional SystemSettingsProto system_settings = 32;
optional SAMLSettingsProto saml_settings = 33;
+ optional RebootOnShutdownProto reboot_on_shutdown = 34;
}

Powered by Google App Engine
This is Rietveld 408576698