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

Unified Diff: chrome/test/data/policy/policy_test_cases.json

Issue 12217068: Add policies to control Chrome OS power management (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 10 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
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/policy/policy_test_cases.json
diff --git a/chrome/test/data/policy/policy_test_cases.json b/chrome/test/data/policy/policy_test_cases.json
index 967bc5ceacaa3650609ab6c303f4e7b9a2c87189..2e8299d641d783c1bf9c6bb50ae115552ef49916 100644
--- a/chrome/test/data/policy/policy_test_cases.json
+++ b/chrome/test/data/policy/policy_test_cases.json
@@ -1566,6 +1566,110 @@
]
},
+ "ScreenDimDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenDimDelayAC": 420000 },
+ "pref_mappings": [
+ { "pref": "power.ac_screen_dim_delay_ms" }
+ ]
+ },
+
+ "ScreenOffDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenOffDelayAC": 480000 },
+ "pref_mappings": [
+ { "pref": "power.ac_screen_off_delay_ms" }
+ ]
+ },
+
+ "ScreenLockDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenLockDelayAC": 600000 },
+ "pref_mappings": [
+ { "pref": "power.ac_screen_lock_delay_ms" }
+ ]
+ },
+
+ "IdleDelayAC": {
+ "os": ["chromeos"],
+ "test_policy": { "IdleDelayAC": 1800000 },
+ "pref_mappings": [
+ { "pref": "power.ac_idle_delay_ms" }
+ ]
+ },
+
+ "ScreenDimDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenDimDelayBattery": 300000 },
+ "pref_mappings": [
+ { "pref": "power.battery_screen_dim_delay_ms" }
+ ]
+ },
+
+ "ScreenOffDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenOffDelayBattery": 360000 },
+ "pref_mappings": [
+ { "pref": "power.battery_screen_off_delay_ms" }
+ ]
+ },
+
+ "ScreenLockDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "ScreenLockDelayBattery": 600000 },
+ "pref_mappings": [
+ { "pref": "power.battery_screen_lock_delay_ms" }
+ ]
+ },
+
+ "IdleDelayBattery": {
+ "os": ["chromeos"],
+ "test_policy": { "IdleDelayBattery": 600000 },
+ "pref_mappings": [
+ { "pref": "power.battery_idle_delay_ms" }
+ ]
+ },
+
+ "IdleAction": {
+ "os": ["chromeos"],
+ "test_policy": { "IdleAction": 0 },
+ "pref_mappings": [
+ { "pref": "power.idle_action" }
+ ]
+ },
+
+ "LidCloseAction": {
+ "os": ["chromeos"],
+ "test_policy": { "LidCloseAction": 0 },
+ "pref_mappings": [
+ { "pref": "power.lid_closed_action" }
+ ]
+ },
+
+ "PowerManagementUsesAudioActivity": {
+ "os": ["chromeos"],
+ "test_policy": { "PowerManagementUsesAudioActivity": true },
+ "pref_mappings": [
+ { "pref": "power.use_audio_activity" }
+ ]
+ },
+
+ "PowerManagementUsesVideoActivity": {
+ "os": ["chromeos"],
+ "test_policy": { "PowerManagementUsesVideoActivity": true },
+ "pref_mappings": [
+ { "pref": "power.use_video_activity" }
+ ]
+ },
+
+ "PresentationIdleDelayScale": {
+ "os": ["chromeos"],
+ "test_policy": { "PresentationIdleDelayScale": 200 },
+ "pref_mappings": [
+ { "pref": "power.presentation_idle_delay_factor" }
+ ]
+ },
+
"----- Chrome OS device policies ---------------------------------------": {},
"DevicePolicyRefreshRate": {
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698