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

Side by Side Diff: chrome/app/policy/policy_templates.json

Issue 6299001: Syntax checker for policy_templates.json (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/app/policy
Patch Set: address more comments Created 9 years, 11 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 | Annotate | Revision Log
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 # 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*' 74 # 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*'
75 # For example if 'chrome.*:5-10' is specified for a policy, then it should 75 # For example if 'chrome.*:5-10' is specified for a policy, then it should
76 # be read as: 76 # be read as:
77 # 'chrome.linux:5-10,chrome.mac:5-10,chrome.win:5-10' 77 # 'chrome.linux:5-10,chrome.mac:5-10,chrome.win:5-10'
78 # The product name also affects in which templates will the policy be included . 78 # The product name also affects in which templates will the policy be included .
79 # chrome.*, chrome.win, chrome_frame -> ADM,ADMX,ADML,doc 79 # chrome.*, chrome.win, chrome_frame -> ADM,ADMX,ADML,doc
80 # chrome.*, chrome.linux -> JSON,doc 80 # chrome.*, chrome.linux -> JSON,doc
81 # chrome.*, chrome.mac -> plist, plist_strings,doc 81 # chrome.*, chrome.mac -> plist, plist_strings,doc
82 # everything else -> doc 82 # everything else -> doc
83 # 83 #
84 # Annotations: 84 # Annotations:
85 # Additional information is specified under keys 'features' and 85 # Additional information is specified under keys 'features' and
86 # 'example_value'. These are used in the generated documentation and example 86 # 'example_value'. These are used in the generated documentation and example
87 # policy configuration files. 87 # policy configuration files.
88 # 88 #
89 'policy_definitions': [ 89 'policy_definitions': [
90 { 90 {
91 'name': 'Homepage', 91 'name': 'Homepage',
92 'type': 'group', 92 'type': 'group',
93 'caption': '''Home page''', 93 'caption': '''Home page''',
94 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it. 94 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it.
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 { 1146 {
1147 'key': '$4', 1147 'key': '$4',
1148 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started' 1148 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started'
1149 }, 1149 },
1150 { 1150 {
1151 'key': '$5', 1151 'key': '$5',
1152 'value': 'http://www.chromium.org/administrators/policy-templates' 1152 'value': 'http://www.chromium.org/administrators/policy-templates'
1153 }, 1153 },
1154 ] 1154 ]
1155 } 1155 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698