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

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

Issue 6002015: Policy: generate boilerplate policy type and constant code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 'type': 'list', 496 'type': 'list',
497 'supported_on': ['chrome.*:8-'], 497 'supported_on': ['chrome.*:8-'],
498 'annotations': { 498 'annotations': {
499 'features': {'dynamic_refresh': 1}, 499 'features': {'dynamic_refresh': 1},
500 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'] 500 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1']
501 } 501 }
502 }, 502 },
503 ] 503 ]
504 }, 504 },
505 { 505 {
506 'name': 'BlockThirdPartyCookies',
507 'type': 'main',
508 'supported_on': ['chrome.*:10-'],
509 'annotations': {
510 'features': {'dynamic_refresh': 1},
511 'example_value': False,
512 }
gfeher 2011/01/04 12:58:06 Why are you adding this here?
danno 2011/01/11 13:03:48 This was missing in the JSON file but the constant
513 },
514 {
506 'name': 'ContentSettings', 515 'name': 'ContentSettings',
507 'type': 'group', 516 'type': 'group',
508 'policies': [ 517 'policies': [
509 { 518 {
510 'name': 'DefaultCookiesSetting', 519 'name': 'DefaultCookiesSetting',
511 'type': 'enum', 520 'type': 'enum',
512 'items': [ 521 'items': [
513 {'name': 'AllowCookies', 'value': '0'}, 522 {'name': 'AllowCookies', 'value': '0'},
514 {'name': 'BlockCookies', 'value': '1'}, 523 {'name': 'BlockCookies', 'value': '1'},
515 ], 524 ],
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 { 686 {
678 'key': '$4', 687 'key': '$4',
679 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started' 688 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started'
680 }, 689 },
681 { 690 {
682 'key': '$5', 691 'key': '$5',
683 'value': 'http://www.chromium.org/administrators/policy-templates' 692 'value': 'http://www.chromium.org/administrators/policy-templates'
684 }, 693 },
685 ] 694 ]
686 } 695 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698