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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2581643002: Define a new policy to disable clearing the browsing history from the UI. (Closed)
Patch Set: less headers Created 4 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/test/data/policy/policy_test_cases.json ('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 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 'caption': '''Disable saving browser history''', 646 'caption': '''Disable saving browser history''',
647 'tags': [], 647 'tags': [],
648 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting. 648 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting.
649 649
650 If this setting is enabled, browsing history is not saved. This setting al so disables tab syncing. 650 If this setting is enabled, browsing history is not saved. This setting al so disables tab syncing.
651 651
652 If this setting is disabled or not set, browsing history is saved.''', 652 If this setting is disabled or not set, browsing history is saved.''',
653 }, 653 },
654 { 654 {
655 'name': 'AllowDeletingBrowserHistory', 655 'name': 'AllowDeletingBrowserHistory',
656 'future': True,
657 'type': 'main', 656 'type': 'main',
658 'schema': { 'type': 'boolean' }, 657 'schema': { 'type': 'boolean' },
659 # TODO(pamg): Restore the correct 'supported' line when the UI properly 658 'supported_on': ['chrome.*:57-', 'chrome_os:57-'],
660 # shows that deleting browser history is disabled. Also fix the 'os' line
661 # in policy_test_cases.json.
662 # 'supported_on': ['chrome.*:27-', 'chrome_os:27-'],
663 'supported_on': [],
664 'features': { 659 'features': {
665 'dynamic_refresh': True, 660 'dynamic_refresh': True,
666 'per_profile': True, 661 'per_profile': True,
667 }, 662 },
668 'example_value': True, 663 'example_value': True,
669 'id': 187, 664 'id': 187,
670 'caption': '''Enable deleting browser and download history''', 665 'caption': '''Enable deleting browser and download history''',
671 'tags': [], 666 'tags': ['local-data-access', 'admin-sharing'],
672 'desc': '''Enables deleting browser history and download history in <ph na me="PRODUCT_NAME">$<ex>Google Chrome</ex></ph> and prevents users from changing this setting. 667 'desc': '''Enables deleting browser history and download history in <ph na me="PRODUCT_NAME">$<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
673 668
674 Note that even with this policy disabled, the browsing and download histor y are not guaranteed to be retained: users may be able to edit or delete the his tory database files directly, and the browser itself may expire or archive any o r all history items at any time. 669 Note that even with this policy disabled, the browsing and download histor y are not guaranteed to be retained: users may be able to edit or delete the his tory database files directly, and the browser itself may expire or archive any o r all history items at any time.
675 670
676 If this setting is enabled or not set, browsing and download history can b e deleted. 671 If this setting is enabled or not set, browsing and download history can b e deleted.
677 672
678 If this setting is disabled, browsing and download history cannot be delet ed.''', 673 If this setting is disabled, browsing and download history cannot be delet ed.''',
679 }, 674 },
680 { 675 {
681 'name': 'AllowDinosaurEasterEgg', 676 'name': 'AllowDinosaurEasterEgg',
(...skipping 8815 matching lines...) Expand 10 before | Expand all | Expand 10 after
9497 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9492 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9498 'text': 'Default Settings (users can override)', 9493 'text': 'Default Settings (users can override)',
9499 }, 9494 },
9500 'doc_complex_policies_on_windows': { 9495 'doc_complex_policies_on_windows': {
9501 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9496 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9502 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 9497 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
9503 }, 9498 },
9504 }, 9499 },
9505 'placeholders': [], 9500 'placeholders': [],
9506 } 9501 }
OLDNEW
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698