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

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

Issue 678443002: Fix documentation in policy templates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171
Patch Set: Created 6 years, 2 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 2730 matching lines...) Expand 10 before | Expand all | Expand 10 after
2741 'required': ['protocol', 'url'] 2741 'required': ['protocol', 'url']
2742 } 2742 }
2743 }, 2743 },
2744 'supported_on': ['chrome.*:37-', 'chrome_os:37-'], 2744 'supported_on': ['chrome.*:37-', 'chrome_os:37-'],
2745 'features': { 2745 'features': {
2746 'dynamic_refresh': False, 2746 'dynamic_refresh': False,
2747 'per_profile': True, 2747 'per_profile': True,
2748 'can_be_recommended': True, 2748 'can_be_recommended': True,
2749 'can_be_mandatory' : False, 2749 'can_be_mandatory' : False,
2750 }, 2750 },
2751 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c om/mail/?extsrc=mailto&url=%s', 'default': 'true'}], 2751 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c om/mail/?extsrc=mailto&url=%s', 'default': True}],
2752 'id': 268, 2752 'id': 268,
2753 'caption': '''Register protocol handlers''', 2753 'caption': '''Register protocol handlers''',
2754 '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. 2754 '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.
2755 2755
2756 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.''', 2756 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.''',
2757 }, 2757 },
2758 { 2758 {
2759 'name': 'PopupsBlockedForUrls', 2759 'name': 'PopupsBlockedForUrls',
2760 'type': 'list', 2760 'type': 'list',
2761 'schema': { 2761 'schema': {
(...skipping 4172 matching lines...) Expand 10 before | Expand all | Expand 10 after
6934 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6934 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6935 'text': 'Default Settings (users can override)', 6935 'text': 'Default Settings (users can override)',
6936 }, 6936 },
6937 'doc_complex_policies_on_windows': { 6937 'doc_complex_policies_on_windows': {
6938 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 6938 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
6939 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , 6939 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' ,
6940 }, 6940 },
6941 }, 6941 },
6942 'placeholders': [], 6942 'placeholders': [],
6943 } 6943 }
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