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

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

Issue 417993002: Updates policy templates to generate the right ADM files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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 2678 matching lines...) Expand 10 before | Expand all | Expand 10 after
2689 'type': 'string' 2689 'type': 'string'
2690 } 2690 }
2691 }, 2691 },
2692 'required': ['protocol', 'url'] 2692 'required': ['protocol', 'url']
2693 } 2693 }
2694 }, 2694 },
2695 'supported_on': ['chrome.*:37-', 'chrome_os:37-'], 2695 'supported_on': ['chrome.*:37-', 'chrome_os:37-'],
2696 'features': { 2696 'features': {
2697 'dynamic_refresh': False, 2697 'dynamic_refresh': False,
2698 'per_profile': True, 2698 'per_profile': True,
2699 'can_be_recommended': True,
2699 }, 2700 },
2700 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c om/mail/?extsrc=mailto&url=%s', 'default': 'true'}], 2701 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c om/mail/?extsrc=mailto&url=%s', 'default': 'true'}],
2701 'id': 268, 2702 'id': 268,
2702 'caption': '''Register protocol handlers''', 2703 'caption': '''Register protocol handlers''',
2703 'desc': '''Allows you to register a list of protocol handlers. This ca n only be a recommended policy. The property |protocol| should be set to the sch eme such as 'mailto' and the property |url| should be set to the URL pattern of the application that handles the scheme. The pattern can include a '%s', which i f present will be replaced by the handled URL. 2704 'desc': '''Allows you to register a list of protocol handlers. This ca n only be a recommended policy. The property |protocol| should be set to the sch eme such as 'mailto' and the property |url| should be set to the URL pattern of the application that handles the scheme. The pattern can include a '%s', which i f present will be replaced by the handled URL.
2704 2705
2705 The protocol handlers registered by policy are merged with the ones re gistered by the user and both are available for use. The user can override the p rotocol handlers installed by policy by installing a new default handler, but ca nnot remove a protocol handler registered by policy.''', 2706 The protocol handlers registered by policy are merged with the ones re gistered by the user and both are available for use. The user can override the p rotocol handlers installed by policy by installing a new default handler, but ca nnot remove a protocol handler registered by policy.''',
2706 }, 2707 },
2707 { 2708 {
2708 'name': 'PopupsBlockedForUrls', 2709 'name': 'PopupsBlockedForUrls',
(...skipping 3927 matching lines...) Expand 10 before | Expand all | Expand 10 after
6636 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6637 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6637 'text': 'deprecated', 6638 'text': 'deprecated',
6638 }, 6639 },
6639 'doc_recommended': { 6640 'doc_recommended': {
6640 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6641 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6641 'text': 'Default Settings (users can override)', 6642 'text': 'Default Settings (users can override)',
6642 }, 6643 },
6643 }, 6644 },
6644 'placeholders': [], 6645 'placeholders': [],
6645 } 6646 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698