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

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

Issue 11499012: Add policy for limiting the session length (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload flaked. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | 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.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 "test_policy": { "ShelfAutoHideBehavior": "Always" }, 1538 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1539 "pref_mappings": [ 1539 "pref_mappings": [
1540 { "pref": "auto_hide_behavior_local" } 1540 { "pref": "auto_hide_behavior_local" }
1541 ] 1541 ]
1542 }, 1542 },
1543 1543
1544 "UserDisplayName": { 1544 "UserDisplayName": {
1545 "os": ["chromeos"] 1545 "os": ["chromeos"]
1546 }, 1546 },
1547 1547
1548 "SessionLengthLimit": {
1549 "os": ["chromeos"],
1550 "test_policy": { "SessionLengthLimit": 3600000 },
1551 "pref_mappings": [
1552 { "pref": "session.length_limit",
1553 "local_state": true }
1554 ]
1555 },
1556
1548 "----- Chrome OS device policies ---------------------------------------": {}, 1557 "----- Chrome OS device policies ---------------------------------------": {},
1549 1558
1550 "DevicePolicyRefreshRate": { 1559 "DevicePolicyRefreshRate": {
1551 "os": ["chromeos"], 1560 "os": ["chromeos"],
1552 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1561 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1553 "pref_mappings": [ 1562 "pref_mappings": [
1554 { "pref": "policy.device_refresh_rate", 1563 { "pref": "policy.device_refresh_rate",
1555 "local_state": true } 1564 "local_state": true }
1556 ] 1565 ]
1557 }, 1566 },
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1660 1669
1661 "ChromeFrameContentTypes": { 1670 "ChromeFrameContentTypes": {
1662 }, 1671 },
1663 1672
1664 "GCFUserDataDir": { 1673 "GCFUserDataDir": {
1665 }, 1674 },
1666 1675
1667 "AdditionalLaunchParameters": { 1676 "AdditionalLaunchParameters": {
1668 } 1677 }
1669 } 1678 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698