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

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

Issue 4704006: Add version information to the policy templates (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix typo in merge Created 10 years, 1 month 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 # or other messages of the policy HomepageLocation: 51 # or other messages of the policy HomepageLocation:
52 # IDS_POLICY_HOMEPAGELOCATION_LABEL 52 # IDS_POLICY_HOMEPAGELOCATION_LABEL
53 # IDS_POLICY_HOMEPAGELOCATION_DESC 53 # IDS_POLICY_HOMEPAGELOCATION_DESC
54 # -For enum items: 54 # -For enum items:
55 # IDS_POLICY_ENUM_<NAME OF THE ITEM> 55 # IDS_POLICY_ENUM_<NAME OF THE ITEM>
56 # e.g. the name of the caption of ProxyServerDisabled: 56 # e.g. the name of the caption of ProxyServerDisabled:
57 # IDS_POLICY_ENUM_PROXYSERVERDISABLED_CAPTION 57 # IDS_POLICY_ENUM_PROXYSERVERDISABLED_CAPTION
58 # 58 #
59 # Annotations: 59 # Annotations:
60 # Each policy has metadata under the key 'annotations'. 60 # Each policy has metadata under the key 'annotations'.
61 # These values are only used for the generated documentation, except for 61 # These values are only used for the generated documentation.
62 # 'platforms', that is also used for filtering policies. It is a list 62 #
63 # enumerating the platforms on which Chrome supports the given policy. 63 # Products and versions:
64 # In a given template, only those policies are included that are compatible 64 # Each policy has the list of products and version numbers where it is
65 # with the target OS of that template. 65 # supported under the key 'supported_on'. Each item of this list has the
66 # Windows: ADM,ADMX,ADML 66 # form of 'product:since_version-until_version', which means that support
67 # Mac: plist,plist_strings 67 # for the policy in 'product' was introduced in 'since_version' and removed
68 # after 'until_version'. Product names may contain a suffix specifying a
69 # platform name, e.g.: 'chrome.win' is read as 'Chrome on Windows'. Version
70 # numbers can be any string that does not contain ':' or '-' characters.
71 #
72 # Currently supported product names:
73 # 'chrome_frame', 'chrome_os'
74 # 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*'
75 # For example if 'chrome.*:5-10' is specified for a policy, then it should
76 # be read as:
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 .
79 # chrome.*, chrome.win, chrome_frame -> ADM,ADMX,ADML,doc
80 # chrome.*, chrome.linux -> JSON,doc
81 # chrome.*, chrome.mac -> plist, plist_strings,doc
82 # everything else -> doc
68 # 83 #
69 'policy_definitions': [ 84 'policy_definitions': [
70 { 85 {
71 'name': 'Homepage', 86 'name': 'Homepage',
72 'type': 'group', 87 'type': 'group',
73 'policies': [ 88 'policies': [
74 { 89 {
75 'name': 'HomepageLocation', 90 'name': 'HomepageLocation',
76 'type': 'string', 91 'type': 'string',
92 'supported_on': ['chrome.*:8-'],
77 'annotations': { 93 'annotations': {
78 'platforms': ['linux', 'mac', 'win'],
79 'products': ['chrome'],
80 'features': {'dynamic_refresh': 1}, 94 'features': {'dynamic_refresh': 1},
81 'example_value': 'http://chromium.org', 95 'example_value': 'http://chromium.org',
82 } 96 }
83 }, 97 },
84 { 98 {
85 'name': 'HomepageIsNewTabPage', 99 'name': 'HomepageIsNewTabPage',
86 'type': 'main', 100 'type': 'main',
101 'supported_on': ['chrome.*:8-'],
87 'annotations': { 102 'annotations': {
88 'platforms': ['linux', 'mac', 'win'],
89 'products': ['chrome'],
90 'features': {'dynamic_refresh': 1}, 103 'features': {'dynamic_refresh': 1},
91 'example_value': True, 104 'example_value': True,
92 } 105 }
93 } 106 }
94 ] 107 ]
95 }, 108 },
96 { 109 {
97 'name': 'ApplicationLocaleValue', 110 'name': 'ApplicationLocaleValue',
98 'type': 'string', 111 'type': 'string',
112 'supported_on': ['chrome.win:8-'],
99 'annotations': { 113 'annotations': {
100 'platforms': ['win'],
101 'products': ['chrome'],
102 'features': {'dynamic_refresh': 0}, 114 'features': {'dynamic_refresh': 0},
103 'example_value': 'en', 115 'example_value': 'en',
104 }, 116 },
105 }, 117 },
106 { 118 {
107 'name': 'AlternateErrorPagesEnabled', 119 'name': 'AlternateErrorPagesEnabled',
108 'type': 'main', 120 'type': 'main',
121 'supported_on': ['chrome.*:8-'],
109 'annotations': { 122 'annotations': {
110 'platforms': ['linux', 'mac', 'win'],
111 'products': ['chrome'],
112 'features': {'dynamic_refresh': 1}, 123 'features': {'dynamic_refresh': 1},
113 'example_value': True, 124 'example_value': True,
114 }, 125 },
115 }, 126 },
116 { 127 {
117 'name': 'SearchSuggestEnabled', 128 'name': 'SearchSuggestEnabled',
118 'type': 'main', 129 'type': 'main',
130 'supported_on': ['chrome.*:8-'],
119 'annotations': { 131 'annotations': {
120 'platforms': ['linux', 'mac', 'win'],
121 'products': ['chrome'],
122 'features': {'dynamic_refresh': 1}, 132 'features': {'dynamic_refresh': 1},
123 'example_value': True, 133 'example_value': True,
124 } 134 }
125 }, 135 },
126 { 136 {
127 'name': 'DnsPrefetchingEnabled', 137 'name': 'DnsPrefetchingEnabled',
128 'type': 'main', 138 'type': 'main',
139 'supported_on': ['chrome.*:8-'],
129 'annotations': { 140 'annotations': {
130 'platforms': ['linux', 'mac', 'win'],
131 'products': ['chrome'],
132 'features': {'dynamic_refresh': 1}, 141 'features': {'dynamic_refresh': 1},
133 'example_value': True, 142 'example_value': True,
134 } 143 }
135 }, 144 },
136 { 145 {
137 'name': 'DisableSpdy', 146 'name': 'DisableSpdy',
138 'type': 'main', 147 'type': 'main',
148 'supported_on': ['chrome.*:8-'],
139 'annotations': { 149 'annotations': {
140 'platforms': ['linux', 'mac', 'win'],
141 'products': ['chrome'],
142 'features': {'dynamic_refresh': 1}, 150 'features': {'dynamic_refresh': 1},
143 'example_value': True, 151 'example_value': True,
144 } 152 }
145 }, 153 },
146 { 154 {
147 'name': 'JavascriptEnabled', 155 'name': 'JavascriptEnabled',
148 'type': 'main', 156 'type': 'main',
157 'supported_on': ['chrome.*:8-'],
149 'annotations': { 158 'annotations': {
150 'platforms': ['linux', 'mac', 'win'],
151 'products': ['chrome'],
152 'features': {'dynamic_refresh': 0}, 159 'features': {'dynamic_refresh': 0},
153 'example_value': True, 160 'example_value': True,
154 } 161 }
155 }, 162 },
156 { 163 {
157 'name': 'SavingBrowserHistoryDisabled', 164 'name': 'SavingBrowserHistoryDisabled',
158 'type': 'main', 165 'type': 'main',
166 'supported_on': ['chrome.*:8-'],
159 'annotations': { 167 'annotations': {
160 'platforms': ['linux', 'mac', 'win'],
161 'products': ['chrome'],
162 'features': {'dynamic_refresh': 1}, 168 'features': {'dynamic_refresh': 1},
163 'example_value': True, 169 'example_value': True,
164 } 170 }
165 }, 171 },
166 { 172 {
167 'name': 'PrintingEnabled', 173 'name': 'PrintingEnabled',
168 'type': 'main', 174 'type': 'main',
175 'supported_on': ['chrome.*:8-'],
169 'annotations': { 176 'annotations': {
170 'platforms': ['linux', 'mac', 'win'],
171 'products': ['chrome'],
172 'features': {'dynamic_refresh': 1}, 177 'features': {'dynamic_refresh': 1},
173 'example_value': True, 178 'example_value': True,
174 } 179 }
175 }, 180 },
176 { 181 {
177 'name': 'SafeBrowsingEnabled', 182 'name': 'SafeBrowsingEnabled',
178 'type': 'main', 183 'type': 'main',
184 'supported_on': ['chrome.*:8-'],
179 'annotations': { 185 'annotations': {
180 'platforms': ['linux', 'mac', 'win'],
181 'products': ['chrome'],
182 'features': {'dynamic_refresh': 0}, 186 'features': {'dynamic_refresh': 0},
183 'example_value': True, 187 'example_value': True,
184 } 188 }
185 }, 189 },
186 { 190 {
187 'name': 'MetricsReportingEnabled', 191 'name': 'MetricsReportingEnabled',
188 'type': 'main', 192 'type': 'main',
193 'supported_on': ['chrome.*:8-'],
189 'annotations': { 194 'annotations': {
190 'platforms': ['linux', 'mac', 'win'],
191 'products': ['chrome'],
192 'features': {'dynamic_refresh': 0}, 195 'features': {'dynamic_refresh': 0},
193 'example_value': True, 196 'example_value': True,
194 'problem_href': 197 'problem_href':
195 'http://www.chromium.org/administrators/' 198 'http://www.chromium.org/administrators/'
196 'policy-list-3/metrics-reporting-enabled', 199 'policy-list-3/metrics-reporting-enabled',
197 } 200 }
198 }, 201 },
199 { 202 {
200 'name': 'PasswordManager', 203 'name': 'PasswordManager',
201 'type': 'group', 204 'type': 'group',
202 'policies': [{ 205 'policies': [{
203 'name': 'PasswordManagerEnabled', 206 'name': 'PasswordManagerEnabled',
204 'type': 'main', 207 'type': 'main',
208 'supported_on': ['chrome.*:8-'],
205 'annotations': { 209 'annotations': {
206 'platforms': ['linux', 'mac', 'win'],
207 'products': ['chrome'],
208 'features': {'dynamic_refresh': 1}, 210 'features': {'dynamic_refresh': 1},
209 'example_value': True, 211 'example_value': True,
210 } 212 }
211 }, 213 },
212 { 214 {
213 'name': 'PasswordManagerAllowShowPasswords', 215 'name': 'PasswordManagerAllowShowPasswords',
214 'type': 'main', 216 'type': 'main',
217 'supported_on': ['chrome.*:8-'],
215 'annotations': { 218 'annotations': {
216 'platforms': ['linux', 'mac', 'win'],
217 'products': ['chrome'],
218 'features': {'dynamic_refresh': 1}, 219 'features': {'dynamic_refresh': 1},
219 'example_value': False, 220 'example_value': False,
220 } 221 }
221 }] 222 }]
222 }, 223 },
223 { 224 {
224 'name': 'AutoFillEnabled', 225 'name': 'AutoFillEnabled',
225 'type': 'main', 226 'type': 'main',
227 'supported_on': ['chrome.*:8-'],
226 'annotations': { 228 'annotations': {
227 'platforms': ['linux', 'mac', 'win'],
228 'products': ['chrome'],
229 'features': {'dynamic_refresh': 1}, 229 'features': {'dynamic_refresh': 1},
230 'example_value': False, 230 'example_value': False,
231 } 231 }
232 }, 232 },
233 { 233 {
234 'name': 'DisabledPlugins', 234 'name': 'DisabledPlugins',
235 'type': 'list', 235 'type': 'list',
236 'supported_on': ['chrome.*:8-'],
236 'annotations': { 237 'annotations': {
237 'platforms': ['linux', 'mac', 'win'],
238 'products': ['chrome'],
239 'features': {'dynamic_refresh': 1}, 238 'features': {'dynamic_refresh': 1},
240 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'], 239 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
241 } 240 }
242 }, 241 },
243 { 242 {
244 'name': 'SyncDisabled', 243 'name': 'SyncDisabled',
245 'type': 'main', 244 'type': 'main',
245 'supported_on': ['chrome.*:8-'],
246 'annotations': { 246 'annotations': {
247 'platforms': ['linux', 'mac', 'win'],
248 'products': ['chrome'],
249 'features': {'dynamic_refresh': 1}, 247 'features': {'dynamic_refresh': 1},
250 'example_value': True, 248 'example_value': True,
251 } 249 }
252 }, 250 },
253 { 251 {
254 'name': 'Proxy', 252 'name': 'Proxy',
255 'type': 'group', 253 'type': 'group',
256 'policies': [ 254 'policies': [
257 { 255 {
258 'name': 'ProxyServerMode', 256 'name': 'ProxyServerMode',
259 'type': 'enum', 257 'type': 'enum',
260 'items': [ 258 'items': [
261 {'name': 'ProxyServerDisabled', 'value': '0'}, 259 {'name': 'ProxyServerDisabled', 'value': '0'},
262 {'name': 'ProxyServerAutoDetect', 'value': '1'}, 260 {'name': 'ProxyServerAutoDetect', 'value': '1'},
263 {'name': 'ProxyServerManual', 'value': '2'}, 261 {'name': 'ProxyServerManual', 'value': '2'},
264 {'name': 'ProxyServerUseSystem', 'value': '3'}, 262 {'name': 'ProxyServerUseSystem', 'value': '3'},
265 ], 263 ],
264 'supported_on': ['chrome.*:8-'],
266 'annotations': { 265 'annotations': {
267 'platforms': ['linux', 'mac', 'win'],
268 'products': ['chrome'],
269 'features': {'dynamic_refresh': 0}, 266 'features': {'dynamic_refresh': 0},
270 'example_value': 2, 267 'example_value': 2,
271 } 268 }
272 }, 269 },
273 { 270 {
274 'name': 'ProxyServer', 271 'name': 'ProxyServer',
275 'type': 'string', 272 'type': 'string',
273 'supported_on': ['chrome.*:8-'],
276 'annotations': { 274 'annotations': {
277 'platforms': ['linux', 'mac', 'win'],
278 'products': ['chrome'],
279 'features': {'dynamic_refresh': 0}, 275 'features': {'dynamic_refresh': 0},
280 'example_value': '123.123.123.123:8080', 276 'example_value': '123.123.123.123:8080',
281 } 277 }
282 }, 278 },
283 { 279 {
284 'name': 'ProxyPacUrl', 280 'name': 'ProxyPacUrl',
285 'type': 'string', 281 'type': 'string',
282 'supported_on': ['chrome.*:8-'],
286 'annotations': { 283 'annotations': {
287 'platforms': ['linux', 'mac', 'win'],
288 'products': ['chrome'],
289 'features': {'dynamic_refresh': 0}, 284 'features': {'dynamic_refresh': 0},
290 'example_value': 'http://internal.site/example.pac' 285 'example_value': 'http://internal.site/example.pac'
291 } 286 }
292 }, 287 },
293 { 288 {
294 'name': 'ProxyBypassList', 289 'name': 'ProxyBypassList',
295 'type': 'string', 290 'type': 'string',
291 'supported_on': ['chrome.*:8-'],
296 'annotations': { 292 'annotations': {
297 'platforms': ['linux', 'mac', 'win'],
298 'products': ['chrome'],
299 'features': {'dynamic_refresh': 0}, 293 'features': {'dynamic_refresh': 0},
300 'example_value': 294 'example_value':
301 'http://www.example1.com,' 295 'http://www.example1.com,'
302 'http://www.example2.com,http://internalsite/', 296 'http://www.example2.com,http://internalsite/',
303 } 297 }
304 }, 298 },
305 ] 299 ]
306 }, 300 },
307 { 301 {
308 'name': 'HTTPAuthentication', 302 'name': 'HTTPAuthentication',
309 'type': 'group', 303 'type': 'group',
310 'policies': [ 304 'policies': [
311 { 305 {
312 'name': 'AuthSchemes', 306 'name': 'AuthSchemes',
313 'type': 'string', 307 'type': 'string',
308 'supported_on': ['chrome.*:9-'],
314 'annotations': { 309 'annotations': {
315 'platforms': ['linux', 'mac', 'win'],
316 'products': ['chrome'],
317 'features': {'dynamic_refresh': 0}, 310 'features': {'dynamic_refresh': 0},
318 'example_value': 'basic,digest,ntlm,negotiate', 311 'example_value': 'basic,digest,ntlm,negotiate',
319 } 312 }
320 }, 313 },
321 { 314 {
322 'name': 'DisableAuthNegotiateCnameLookup', 315 'name': 'DisableAuthNegotiateCnameLookup',
323 'type': 'main', 316 'type': 'main',
317 'supported_on': ['chrome.*:9-'],
324 'annotations': { 318 'annotations': {
325 'platforms': ['linux', 'mac', 'win'],
326 'products': ['chrome'],
327 'features': {'dynamic_refresh': 0}, 319 'features': {'dynamic_refresh': 0},
328 'example_value': False, 320 'example_value': False,
329 } 321 }
330 }, 322 },
331 { 323 {
332 'name': 'EnableAuthNegotiatePort', 324 'name': 'EnableAuthNegotiatePort',
333 'type': 'main', 325 'type': 'main',
326 'supported_on': ['chrome.*:9-'],
334 'annotations': { 327 'annotations': {
335 'platforms': ['linux', 'mac', 'win'],
336 'products': ['chrome'],
337 'features': {'dynamic_refresh': 0}, 328 'features': {'dynamic_refresh': 0},
338 'example_value': False, 329 'example_value': False,
339 } 330 }
340 }, 331 },
341 { 332 {
342 'name': 'AuthServerWhitelist', 333 'name': 'AuthServerWhitelist',
343 'type': 'string', 334 'type': 'string',
335 'supported_on': ['chrome.*:9-'],
344 'annotations': { 336 'annotations': {
345 'platforms': ['linux', 'mac', 'win'],
346 'products': ['chrome'],
347 'features': {'dynamic_refresh': 0}, 337 'features': {'dynamic_refresh': 0},
348 'example_value': '*example.com,foobar.com,*baz', 338 'example_value': '*example.com,foobar.com,*baz',
349 } 339 }
350 }, 340 },
351 { 341 {
352 'name': 'AuthNegotiateDelegateWhitelist', 342 'name': 'AuthNegotiateDelegateWhitelist',
353 'type': 'string', 343 'type': 'string',
344 'supported_on': ['chrome.*:9-'],
354 'annotations': { 345 'annotations': {
355 'platforms': ['linux', 'mac', 'win'],
356 'products': ['chrome'],
357 'features': {'dynamic_refresh': 0}, 346 'features': {'dynamic_refresh': 0},
358 'example_value': 'foobar.example.com', 347 'example_value': 'foobar.example.com',
359 } 348 }
360 }, 349 },
361 { 350 {
362 'name': 'GSSAPILibraryName', 351 'name': 'GSSAPILibraryName',
363 'type': 'string', 352 'type': 'string',
353 'supported_on': ['chrome.linux:9-', 'chrome.mac:9-'],
364 'annotations': { 354 'annotations': {
365 'platforms': ['linux', 'mac'],
366 'products': ['chrome'],
367 'features': {'dynamic_refresh': 0}, 355 'features': {'dynamic_refresh': 0},
368 'example_value': 'libgssapi_krb5.so.2', 356 'example_value': 'libgssapi_krb5.so.2',
369 } 357 }
370 }, 358 },
371 ] 359 ]
372 }, 360 },
373 { 361 {
374 'name': 'Extensions', 362 'name': 'Extensions',
375 'type': 'group', 363 'type': 'group',
376 'policies': [{ 364 'policies': [{
377 'name': 'ExtensionInstallBlacklist', 365 'name': 'ExtensionInstallBlacklist',
378 'type': 'list', 366 'type': 'list',
367 'supported_on': ['chrome.*:8-'],
379 'annotations': { 368 'annotations': {
380 'platforms': ['linux', 'mac', 'win'],
381 'products': ['chrome'],
382 'features': {'dynamic_refresh': 1}, 369 'features': {'dynamic_refresh': 1},
383 'example_value': ['extension_id1', 'extension_id2'] 370 'example_value': ['extension_id1', 'extension_id2']
384 } 371 }
385 }, 372 },
386 { 373 {
387 'name': 'ExtensionInstallWhitelist', 374 'name': 'ExtensionInstallWhitelist',
388 'type': 'list', 375 'type': 'list',
376 'supported_on': ['chrome.*:8-'],
389 'annotations': { 377 'annotations': {
390 'platforms': ['linux', 'mac', 'win'],
391 'products': ['chrome'],
392 'features': {'dynamic_refresh': 1}, 378 'features': {'dynamic_refresh': 1},
393 'example_value': ['extension_id1', 'extension_id2'] 379 'example_value': ['extension_id1', 'extension_id2']
394 } 380 }
395 }, 381 },
396 { 382 {
397 » 'name': 'ExtensionInstallForcelist', 383 'name': 'ExtensionInstallForcelist',
398 » 'type': 'list', 384 'type': 'list',
399 » 'annotations': { 385 'supported_on': ['chrome.*:9-'],
400 'platforms': ['linux', 'mac', 'win'], 386 'annotations': {
401 'products': ['chrome'],
402 'features': {'dynamic_refresh': 0}, 387 'features': {'dynamic_refresh': 0},
403 'example_value': [ 388 'example_value': [
404 'lcncmkcnkcdbbanbjakcencbaoegdjlp;' 389 'lcncmkcnkcdbbanbjakcencbaoegdjlp;'
405 'https://clients2.google.com/service/update2/crx' 390 'https://clients2.google.com/service/update2/crx'
406 » ] 391 ]
407 » } 392 }
408 }] 393 }]
409 }, 394 },
410 { 395 {
411 'name': 'ShowHomeButton', 396 'name': 'ShowHomeButton',
412 'type': 'main', 397 'type': 'main',
398 'supported_on': ['chrome.*:8-'],
413 'annotations': { 399 'annotations': {
414 'platforms': ['linux', 'mac', 'win'],
415 'products': ['chrome'],
416 'features': {'dynamic_refresh': 1}, 400 'features': {'dynamic_refresh': 1},
417 'example_value': True 401 'example_value': True
418 } 402 }
419 }, 403 },
420 { 404 {
421 'name': 'DeveloperToolsDisabled', 405 'name': 'DeveloperToolsDisabled',
422 'type': 'main', 406 'type': 'main',
407 'supported_on': ['chrome.*:9-'],
423 'annotations': { 408 'annotations': {
424 'platforms': ['linux', 'mac', 'win'], 409 'features': {'dynamic_refresh': 1},
425 » 'products': ['chrome'], 410 'example_value': False,
426 » 'features': {'dynamic_refresh': 1},
427 » 'example_value': False,
428 } 411 }
429 }, 412 },
430 { 413 {
431 'name': 'RestoreOnStartupGroup', 414 'name': 'RestoreOnStartupGroup',
432 'type': 'group', 415 'type': 'group',
433 'policies': [{ 416 'policies': [{
434 'name': 'RestoreOnStartup', 417 'name': 'RestoreOnStartup',
435 'type': 'enum', 418 'type': 'enum',
436 'items': [ 419 'items': [
437 {'name': 'RestoreOnStartupIsNone', 'value': '0'}, 420 {'name': 'RestoreOnStartupIsNone', 'value': '0'},
438 {'name': 'RestoreOnStartupIsLastSession', 'value': '1'}, 421 {'name': 'RestoreOnStartupIsLastSession', 'value': '1'},
439 {'name': 'RestoreOnStartupIsURLs', 'value': '4'}, 422 {'name': 'RestoreOnStartupIsURLs', 'value': '4'},
440 ], 423 ],
424 'supported_on': ['chrome.*:8-'],
441 'annotations': { 425 'annotations': {
442 'platforms': ['linux', 'mac', 'win'],
443 'products': ['chrome'],
444 'features': {'dynamic_refresh': 1}, 426 'features': {'dynamic_refresh': 1},
445 'example_value': 4, 427 'example_value': 4,
446 } 428 }
447 },{ 429 },{
448 'name': 'RestoreOnStartupURLs', 430 'name': 'RestoreOnStartupURLs',
449 'type': 'list', 431 'type': 'list',
432 'supported_on': ['chrome.*:8-'],
450 'annotations': { 433 'annotations': {
451 'platforms': ['linux', 'mac', 'win'],
452 'products': ['chrome'],
453 'features': {'dynamic_refresh': 1}, 434 'features': {'dynamic_refresh': 1},
454 'example_value': ['http://example.com', 'http://chromium.org'], 435 'example_value': ['http://example.com', 'http://chromium.org'],
455 } 436 }
456 }] 437 }]
457 }, 438 },
458 { 439 {
459 'name': 'DefaultSearchProvider', 440 'name': 'DefaultSearchProvider',
460 'type': 'group', 441 'type': 'group',
461 'policies': [ 442 'policies': [
462 { 443 {
463 'name': 'DefaultSearchProviderEnabled', 444 'name': 'DefaultSearchProviderEnabled',
464 'type': 'main', 445 'type': 'main',
446 'supported_on': ['chrome.*:8-'],
465 'annotations': { 447 'annotations': {
466 'platforms': ['linux', 'mac', 'win'],
467 'products': ['chrome'],
468 'features': {'dynamic_refresh': 1}, 448 'features': {'dynamic_refresh': 1},
469 'example_value': True, 449 'example_value': True,
470 } 450 }
471 }, 451 },
472 { 452 {
473 'name': 'DefaultSearchProviderName', 453 'name': 'DefaultSearchProviderName',
474 'type': 'string', 454 'type': 'string',
455 'supported_on': ['chrome.*:8-'],
475 'annotations': { 456 'annotations': {
476 'platforms': ['linux', 'mac', 'win'],
477 'products': ['chrome'],
478 'features': {'dynamic_refresh': 1}, 457 'features': {'dynamic_refresh': 1},
479 'example_value': 'My Intranet Search', 458 'example_value': 'My Intranet Search',
480 } 459 }
481 }, 460 },
482 { 461 {
483 'name': 'DefaultSearchProviderKeyword', 462 'name': 'DefaultSearchProviderKeyword',
484 'type': 'string', 463 'type': 'string',
464 'supported_on': ['chrome.*:8-'],
485 'annotations': { 465 'annotations': {
486 'platforms': ['linux', 'mac', 'win'],
487 'products': ['chrome'],
488 'features': {'dynamic_refresh': 1}, 466 'features': {'dynamic_refresh': 1},
489 'example_value': 'mis', 467 'example_value': 'mis',
490 } 468 }
491 }, 469 },
492 { 470 {
493 'name': 'DefaultSearchProviderSearchURL', 471 'name': 'DefaultSearchProviderSearchURL',
494 'type': 'string', 472 'type': 'string',
473 'supported_on': ['chrome.*:8-'],
495 'annotations': { 474 'annotations': {
496 'platforms': ['linux', 'mac', 'win'],
497 'products': ['chrome'],
498 'features': {'dynamic_refresh': 1}, 475 'features': {'dynamic_refresh': 1},
499 'example_value': 'http://search.my.company/search?q={searchTerms}', 476 'example_value': 'http://search.my.company/search?q={searchTerms}',
500 } 477 }
501 }, 478 },
502 { 479 {
503 'name': 'DefaultSearchProviderSuggestURL', 480 'name': 'DefaultSearchProviderSuggestURL',
504 'type': 'string', 481 'type': 'string',
482 'supported_on': ['chrome.*:8-'],
505 'annotations': { 483 'annotations': {
506 'platforms': ['linux', 'mac', 'win'],
507 'products': ['chrome'],
508 'features': {'dynamic_refresh': 1}, 484 'features': {'dynamic_refresh': 1},
509 'example_value': 'http://search.my.company/suggest?q={searchTerms}', 485 'example_value': 'http://search.my.company/suggest?q={searchTerms}',
510 } 486 }
511 }, 487 },
512 { 488 {
513 'name': 'DefaultSearchProviderIconURL', 489 'name': 'DefaultSearchProviderIconURL',
514 'type': 'string', 490 'type': 'string',
491 'supported_on': ['chrome.*:8-'],
515 'annotations': { 492 'annotations': {
516 'platforms': ['linux', 'mac', 'win'],
517 'products': ['chrome'],
518 'features': {'dynamic_refresh': 1}, 493 'features': {'dynamic_refresh': 1},
519 'example_value': 'http://search.my.company/favicon.ico', 494 'example_value': 'http://search.my.company/favicon.ico',
520 } 495 }
521 }, 496 },
522 { 497 {
523 'name': 'DefaultSearchProviderEncodings', 498 'name': 'DefaultSearchProviderEncodings',
524 'type': 'list', 499 'type': 'list',
500 'supported_on': ['chrome.*:8-'],
525 'annotations': { 501 'annotations': {
526 'platforms': ['linux', 'mac', 'win'],
527 'products': ['chrome'],
528 'features': {'dynamic_refresh': 1}, 502 'features': {'dynamic_refresh': 1},
529 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'] 503 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1']
530 } 504 }
531 }, 505 },
532 ] 506 ]
533 }, 507 },
534 { 508 {
535 'name': 'ChromeFrameRendererSettings', 509 'name': 'ChromeFrameRendererSettings',
536 'type': 'group', 510 'type': 'group',
537 'policies': [{ 511 'policies': [{
538 'name': 'ChromeFrameRendererSettings', 512 'name': 'ChromeFrameRendererSettings',
539 'type': 'enum', 513 'type': 'enum',
540 'items': [ 514 'items': [
541 {'name': 'RenderInHost', 'value': '0'}, 515 {'name': 'RenderInHost', 'value': '0'},
542 {'name': 'RenderInChromeFrame', 'value': '1'}, 516 {'name': 'RenderInChromeFrame', 'value': '1'},
543 ], 517 ],
518 'supported_on': ['chrome_frame:8-'],
544 'annotations': { 519 'annotations': {
545 'platforms': ['win'],
546 'products': ['chrome_frame'],
547 'features': {'dynamic_refresh': 0}, 520 'features': {'dynamic_refresh': 0},
548 'example_value': 1, 521 'example_value': 1,
549 } 522 }
550 }, { 523 }, {
551 'name': 'RenderInChromeFrameList', 524 'name': 'RenderInChromeFrameList',
552 'type': 'list', 525 'type': 'list',
526 'supported_on': ['chrome_frame:8-'],
553 'annotations': { 527 'annotations': {
554 'platforms': ['win'],
555 'products': ['chrome_frame'],
556 'features': {'dynamic_refresh': 0}, 528 'features': {'dynamic_refresh': 0},
557 'example_value': ['http://www.example.com', 'http://www.example.edu'], 529 'example_value': ['http://www.example.com', 'http://www.example.edu'],
558 } 530 }
559 }, { 531 }, {
560 'name': 'RenderInHostList', 532 'name': 'RenderInHostList',
561 'type': 'list', 533 'type': 'list',
534 'supported_on': ['chrome_frame:8-'],
562 'annotations': { 535 'annotations': {
563 'platforms': ['win'],
564 'products': ['chrome_frame'],
565 'features': {'dynamic_refresh': 0}, 536 'features': {'dynamic_refresh': 0},
566 'example_value': ['http://www.example.com', 'http://www.example.edu'], 537 'example_value': ['http://www.example.com', 'http://www.example.edu'],
567 } 538 }
568 }], 539 }],
569 }, 540 },
570 { 541 {
571 'name': 'ChromeFrameContentTypes', 542 'name': 'ChromeFrameContentTypes',
572 'type': 'group', 543 'type': 'group',
573 'policies': [{ 544 'policies': [{
574 'name': 'ChromeFrameContentTypes', 545 'name': 'ChromeFrameContentTypes',
575 'type': 'list', 546 'type': 'list',
547 'supported_on': ['chrome_frame:8-'],
576 'annotations': { 548 'annotations': {
577 'platforms': ['win'],
578 'products': ['chrome_frame'],
579 'features': {'dynamic_refresh': 0}, 549 'features': {'dynamic_refresh': 0},
580 'example_value': ['text/xml', 'application/xml'], 550 'example_value': ['text/xml', 'application/xml'],
581 } 551 }
582 }], 552 }],
583 }, 553 },
584 { 554 {
585 'name': 'ChromeOsLockOnIdleSuspend', 555 'name': 'ChromeOsLockOnIdleSuspend',
586 'type': 'main', 556 'type': 'main',
557 'supported_on': ['chrome_os:0.9.79.0-'],
587 'annotations': { 558 'annotations': {
588 'platforms': ['chrome_os'],
589 'products': ['chrome_os'],
590 'features': {'dynamic_refresh': 1}, 559 'features': {'dynamic_refresh': 1},
591 'example_value': True, 560 'example_value': True,
592 } 561 }
593 }, 562 },
594 ], 563 ],
595 'placeholders': [ 564 'placeholders': [
596 # Note: keys $1 and $3 are reserved for Chromium and Chromium Frame. 565 # Note: keys $1 and $3 are reserved for Chromium and Chromium Frame.
597 # Key $6 is reserved for doc_writer. 566 # Key $6 is reserved for doc_writer.
598 { 567 {
599 'key': '$2', 568 'key': '$2',
600 'value': 'http://www.chromium.org/developers/design-documents/network-sett ings#TOC-Command-line-options-for-proxy-sett' 569 'value': 'http://www.chromium.org/developers/design-documents/network-sett ings#TOC-Command-line-options-for-proxy-sett'
601 }, 570 },
602 { 571 {
603 'key': '$4', 572 'key': '$4',
604 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started' 573 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started'
605 }, 574 },
606 { 575 {
607 'key': '$5', 576 'key': '$5',
608 'value': 'http://www.chromium.org/administrators/policy-templates' 577 'value': 'http://www.chromium.org/administrators/policy-templates'
609 }, 578 },
610 ] 579 ]
611 } 580 }
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.grd ('k') | tools/grit/grit/format/policy_templates/policy_template_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698