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

Side by Side Diff: chrome/test/data/policy/policy_test_cases.json

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 unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chromeos/settings/cros_settings_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.",
4 4
5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."],
6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.", 6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.",
7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.", 8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.", 9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.",
10 "pref_mappings": [ 10 "pref_mappings": [
(...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2311 ] 2311 ]
2312 } 2312 }
2313 ], 2313 ],
2314 2314
2315 "note": "TODO(bartfab): The |indicator_test_setup_js| above is a hack that m akes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |alternate_error_pages.enabled| pref. This is because cros settings cannot curre ntly be made policy-controlled in browser tests. Remove this hack once that rest riction is lifted." 2315 "note": "TODO(bartfab): The |indicator_test_setup_js| above is a hack that m akes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |alternate_error_pages.enabled| pref. This is because cros settings cannot curre ntly be made policy-controlled in browser tests. Remove this hack once that rest riction is lifted."
2316 }, 2316 },
2317 2317
2318 "DeviceEphemeralUsersEnabled": { 2318 "DeviceEphemeralUsersEnabled": {
2319 }, 2319 },
2320 2320
2321 "DeviceRebootOnShutdown": {
2322 },
2323
2321 "DeviceIdleLogoutTimeout": { 2324 "DeviceIdleLogoutTimeout": {
2322 }, 2325 },
2323 2326
2324 "DeviceIdleLogoutWarningDuration": { 2327 "DeviceIdleLogoutWarningDuration": {
2325 }, 2328 },
2326 2329
2327 "DeviceLoginScreenSaverId": { 2330 "DeviceLoginScreenSaverId": {
2328 }, 2331 },
2329 2332
2330 "DeviceLoginScreenSaverTimeout": { 2333 "DeviceLoginScreenSaverTimeout": {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
2451 2454
2452 "AdditionalLaunchParameters": { 2455 "AdditionalLaunchParameters": {
2453 }, 2456 },
2454 2457
2455 "SuppressChromeFrameTurndownPrompt": { 2458 "SuppressChromeFrameTurndownPrompt": {
2456 }, 2459 },
2457 2460
2458 "SkipMetadataCheck": { 2461 "SkipMetadataCheck": {
2459 } 2462 }
2460 } 2463 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chromeos/settings/cros_settings_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698