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

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

Issue 18153007: Add policies to control power management on the Chrome OS login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. Created 7 years, 5 months 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/policy/proto/chromeos/chrome_device_policy.proto
diff --git a/chrome/browser/policy/proto/chromeos/chrome_device_policy.proto b/chrome/browser/policy/proto/chromeos/chrome_device_policy.proto
index 65fe798869d85eab827cf573da5d429538554d75..6242b2e29e2a85537667c0959f6465f61fc4f2d0 100644
--- a/chrome/browser/policy/proto/chromeos/chrome_device_policy.proto
+++ b/chrome/browser/policy/proto/chromeos/chrome_device_policy.proto
@@ -413,6 +413,75 @@ message SupervisedUsersSettingsProto {
optional bool supervised_users_enabled = 1;
}
+message LoginScreenPowerManagementProto {
+ // Configures power management on the login screen. The policy should be
+ // specified as a string that expresses the individual settings in JSON
+ // format, conforming to the following schema:
Mattias Nissler (ping if slow) 2013/07/10 09:45:13 We'll likely need descriptions for the individual
bartfab (slow) 2013/07/16 11:07:34 Thanks for pointing out the "description" field. I
+ // {
+ // "type": "object",
+ // "properties": {
+ // "AC": {
+ // "type": "object",
+ // "properties": {
+ // "Delays": {
+ // "type": "object",
+ // "properties": {
+ // "ScreenDim": {
+ // "type": "integer",
+ // "minimum": 0
+ // },
+ // "ScreenOff": {
+ // "type": "integer",
+ // "minimum": 0
+ // },
+ // "Idle": {
+ // "type": "integer",
+ // "minimum": 0
+ // }
+ // }
+ // },
+ // "IdleAction": {
+ // "enum": [ 0, 2, 3 ]
+ // }
+ // }
+ // },
+ // "Battery": {
+ // "type": "object",
+ // "properties": {
+ // "Delays": {
+ // "type": "object",
+ // "properties": {
+ // "ScreenDim": {
+ // "type": "integer",
+ // "minimum": 0
+ // },
+ // "ScreenOff": {
+ // "type": "integer",
+ // "minimum": 0
+ // },
+ // "Idle": {
+ // "type": "integer",
+ // "minimum": 0
+ // }
+ // }
+ // },
+ // "IdleAction": {
+ // "enum": [ 0, 2, 3 ]
+ // }
+ // }
+ // },
+ // "LidCloseAction": {
+ // "enum": [ 0, 2, 3 ]
+ // },
+ // "UserActivityScreenDimDelayScale": {
+ // "type": "integer",
+ // "minimum": 0
+ // }
+ // }
+ // }
+ optional string login_screen_power_management = 1;
+}
+
message ChromeDeviceSettingsProto {
optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
optional UserWhitelistProto user_whitelist = 2;
@@ -442,4 +511,5 @@ message ChromeDeviceSettingsProto {
optional AttestationSettingsProto attestation_settings = 26;
optional AccessibilitySettingsProto accessibility_settings = 27;
optional SupervisedUsersSettingsProto supervised_users_settings = 28;
+ optional LoginScreenPowerManagementProto login_screen_power_management = 29;
}

Powered by Google App Engine
This is Rietveld 408576698