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

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

Issue 3116027: Add Mac output for policy template generator (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: final nits Created 10 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 | « chrome/app/policy/policy_templates.grd ('k') | chrome/chrome.gyp » ('j') | 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 # This file is used as input to generate the following policy templates: 4 # This file is used as input to generate the following policy templates:
5 # ADM (TODO(gfeher): MCX,ADMX,DOC) 5 # ADM (TODO(gfeher): MCX,ADMX,DOC)
6 # 6 #
7 # TODO(gfeher): The format description also mentions Mac support, 7 # TODO(gfeher): The format description also mentions Mac support,
8 # but that functionality is not committed to the tree yet. 8 # but that functionality is not committed to the tree yet.
9 # 9 #
10 # Policy templates are user interface definitions or documents about the 10 # Policy templates are user interface definitions or documents about the
11 # policies that can be used to configure Chrome. Each policy is a name-value 11 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 # IDS_POLICY_GROUP_HOMEPAGE_DESC 72 # IDS_POLICY_GROUP_HOMEPAGE_DESC
73 # -For policies: 73 # -For policies:
74 # IDS_POLICY_<NAME OF THE POLICY> 74 # IDS_POLICY_<NAME OF THE POLICY>
75 # e.g. the name of the caption of policy HomepageLocation: 75 # e.g. the name of the caption of policy HomepageLocation:
76 # IDS_POLICY_HOMEPAGELOCATION_CAPTION 76 # IDS_POLICY_HOMEPAGELOCATION_CAPTION
77 # -For enum items: 77 # -For enum items:
78 # IDS_POLICY_ENUM_<NAME OF THE ITEM> 78 # IDS_POLICY_ENUM_<NAME OF THE ITEM>
79 # e.g. the name of the caption of ProxyServerDisabled: 79 # e.g. the name of the caption of ProxyServerDisabled:
80 # IDS_POLICY_ENUM_PROXYSERVERDISABLED_CAPTION 80 # IDS_POLICY_ENUM_PROXYSERVERDISABLED_CAPTION
81 # 81 #
82 # The homepage-related policies are split into two groups, because if they 82 'policy_groups': [
83 # are in the same group, then Windows does not allow to set them undefined 83 # The homepage-related policies are split into two groups, because if they
84 # independently of each other. 84 # are in the same group, then Windows does not allow to set them undefined
85 { 85 # independently of each other.
86 'name': 'HomepageLocation', 86 {
87 'policies': [{ 87 'name': 'HomepageLocation',
88 'name': 'HomepageLocation', 88 'policies': [{
89 'type': 'string', 89 'name': 'HomepageLocation',
90 }], 90 'type': 'string',
91 }, 91 }],
92 { 92 },
93 'name': 'HomepageIsNewTabPage', 93 {
94 'policies': [{
95 'name': 'HomepageIsNewTabPage', 94 'name': 'HomepageIsNewTabPage',
96 'type': 'main', 95 'policies': [{
97 }], 96 'name': 'HomepageIsNewTabPage',
98 }, 97 'type': 'main',
99 { 98 }],
100 'name': 'ApplicationLocale', 99 },
101 'policies': [{ 100 {
102 'name': 'ApplicationLocaleValue', 101 'name': 'ApplicationLocale',
103 'type': 'string', 102 'policies': [{
104 }] 103 'name': 'ApplicationLocaleValue',
105 }, 104 'type': 'string',
106 { 105 }]
107 'name': 'AlternateErrorPagesEnabled', 106 },
108 'policies': [{ 107 {
109 'name': 'AlternateErrorPagesEnabled', 108 'name': 'AlternateErrorPagesEnabled',
110 'type': 'main', 109 'policies': [{
111 }] 110 'name': 'AlternateErrorPagesEnabled',
112 }, 111 'type': 'main',
113 { 112 }]
114 'name': 'SearchSuggestEnabled', 113 },
115 'policies': [{ 114 {
116 'name': 'SearchSuggestEnabled', 115 'name': 'SearchSuggestEnabled',
117 'type': 'main' 116 'policies': [{
118 }], 117 'name': 'SearchSuggestEnabled',
119 }, 118 'type': 'main'
120 { 119 }],
121 'name': 'DnsPrefetchingEnabled', 120 },
122 'policies': [{ 121 {
123 'name': 'DnsPrefetchingEnabled', 122 'name': 'DnsPrefetchingEnabled',
124 'type': 'main' 123 'policies': [{
125 }], 124 'name': 'DnsPrefetchingEnabled',
126 }, 125 'type': 'main'
127 { 126 }],
128 'name': 'SafeBrowsingEnabled', 127 },
129 'policies': [{ 128 {
130 'name': 'SafeBrowsingEnabled', 129 'name': 'SafeBrowsingEnabled',
131 'type': 'main', 130 'policies': [{
132 }] 131 'name': 'SafeBrowsingEnabled',
133 }, 132 'type': 'main',
134 { 133 }]
135 'name': 'MetricsReportingEnabled', 134 },
136 'policies': [{ 135 {
137 'name': 'MetricsReportingEnabled', 136 'name': 'MetricsReportingEnabled',
138 'type': 'main' 137 'policies': [{
139 }], 138 'name': 'MetricsReportingEnabled',
140 }, 139 'type': 'main'
141 { 140 }],
142 'name': 'PasswordManagerEnabled', 141 },
143 'policies': [{ 142 {
144 'name': 'PasswordManagerEnabled', 143 'name': 'PasswordManagerEnabled',
145 'type': 'main', 144 'policies': [{
146 }] 145 'name': 'PasswordManagerEnabled',
147 }, 146 'type': 'main',
148 { 147 }]
149 'name': 'DisabledPlugins', 148 },
150 'policies': [{ 149 {
151 'name': 'DisabledPluginsList', 150 'name': 'DisabledPlugins',
152 'type': 'string', 151 'policies': [{
153 }] 152 'name': 'DisabledPluginsList',
154 }, 153 'type': 'string',
155 { 154 }]
156 'name': 'SyncDisabled', 155 },
157 'policies': [{ 156 {
158 'name': 'SyncDisabled', 157 'name': 'SyncDisabled',
159 'type': 'main', 158 'policies': [{
160 }] 159 'name': 'SyncDisabled',
161 }, 160 'type': 'main',
162 { 161 }]
163 'name': 'Proxy', 162 },
164 'policies': [ 163 {
165 { 164 'name': 'Proxy',
166 'name': 'ProxyServerMode', 165 'policies': [
167 'type': 'enum', 166 {
168 'items': [ 167 'name': 'ProxyServerMode',
169 {'name': 'ProxyServerDisabled', 'value': '0'}, 168 'type': 'enum',
170 {'name': 'ProxyServerAutoDetect', 'value': '1'}, 169 'items': [
171 {'name': 'ProxyServerManual', 'value': '2'}, 170 {'name': 'ProxyServerDisabled', 'value': '0'},
172 {'name': 'ProxyServerUseSystem', 'value': '3'}, 171 {'name': 'ProxyServerAutoDetect', 'value': '1'},
173 ], 172 {'name': 'ProxyServerManual', 'value': '2'},
174 }, 173 {'name': 'ProxyServerUseSystem', 'value': '3'},
175 { 174 ],
176 'name': 'ProxyServer', 175 },
177 'type': 'string' 176 {
178 }, 177 'name': 'ProxyServer',
179 { 178 'type': 'string'
180 'name': 'ProxyPacUrl', 179 },
181 'type': 'string' 180 {
182 }, 181 'name': 'ProxyPacUrl',
183 { 182 'type': 'string'
184 'name': 'ProxyBypassList', 183 },
185 'type': 'string' 184 {
186 }, 185 'name': 'ProxyBypassList',
187 ] 186 'type': 'string'
188 }, 187 },
189 { 188 ]
190 'name': 'ExtensionInstallBlacklist', 189 },
191 'policies': [{ 190 {
192 'name': 'ExtensionInstallBlacklist', 191 'name': 'ExtensionInstallBlacklist',
193 'type': 'list', 192 'policies': [{
194 }] 193 'name': 'ExtensionInstallBlacklist',
195 }, 194 'type': 'list',
196 { 195 }]
197 'name': 'ExtensionInstallWhitelist', 196 },
198 'policies': [{ 197 {
199 'name': 'ExtensionInstallWhitelist', 198 'name': 'ExtensionInstallWhitelist',
200 'type': 'list', 199 'policies': [{
201 }] 200 'name': 'ExtensionInstallWhitelist',
202 } 201 'type': 'list',
203 ] 202 }]
203 }
204 ],
205 'placeholders': [
206 {
207 'key': '$2',
208 'value': 'http://www.chromium.org/developers/design-documents/network-sett ings#TOC-Command-line-options-for-proxy-sett'
209 },
210 ]
211 }
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.grd ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698