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

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: Rebased. Not sure why the patch is not applying - bot source out of sync with ToT? 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
« chrome/common/pref_names.cc ('K') | « 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 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 }, 1534 },
1535 1535
1536 "ShelfAutoHideBehavior": { 1536 "ShelfAutoHideBehavior": {
1537 "os": ["chromeos"], 1537 "os": ["chromeos"],
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 "SessionLengthLimit": {
1545 "os": ["chromeos"],
1546 "test_policy": { "SessionLengthLimit": 3600000 },
1547 "pref_mappings": [
1548 { "pref": "session.length_limit" }
1549 ]
1550 },
1551
1544 "----- Chrome OS device policies ---------------------------------------": {}, 1552 "----- Chrome OS device policies ---------------------------------------": {},
1545 1553
1546 "DevicePolicyRefreshRate": { 1554 "DevicePolicyRefreshRate": {
1547 "os": ["chromeos"], 1555 "os": ["chromeos"],
1548 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1556 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1549 "pref_mappings": [ 1557 "pref_mappings": [
1550 { "pref": "policy.device_refresh_rate", 1558 { "pref": "policy.device_refresh_rate",
1551 "local_state": true } 1559 "local_state": true }
1552 ] 1560 ]
1553 }, 1561 },
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1656 1664
1657 "ChromeFrameContentTypes": { 1665 "ChromeFrameContentTypes": {
1658 }, 1666 },
1659 1667
1660 "GCFUserDataDir": { 1668 "GCFUserDataDir": {
1661 }, 1669 },
1662 1670
1663 "AdditionalLaunchParameters": { 1671 "AdditionalLaunchParameters": {
1664 } 1672 }
1665 } 1673 }
OLDNEW
« chrome/common/pref_names.cc ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698