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

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: tweaks and right diff 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 'type': 'list', 516 'type': 'list',
517 'supported_on': ['chrome.*:8-'], 517 'supported_on': ['chrome.*:8-'],
518 'annotations': { 518 'annotations': {
519 'features': {'dynamic_refresh': 1}, 519 'features': {'dynamic_refresh': 1},
520 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'] 520 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1']
521 } 521 }
522 }, 522 },
523 ] 523 ]
524 }, 524 },
525 { 525 {
526 'name': 'BlockThirdPartyCookies',
527 'type': 'main',
528 'supported_on': ['chrome.*:10-'],
529 'annotations': {
530 'features': {'dynamic_refresh': 1},
531 'example_value': False,
532 }
533 },
534 {
526 'name': 'ContentSettings', 535 'name': 'ContentSettings',
527 'type': 'group', 536 'type': 'group',
528 'policies': [ 537 'policies': [
529 { 538 {
530 'name': 'DefaultCookiesSetting', 539 'name': 'DefaultCookiesSetting',
531 'type': 'int-enum', 540 'type': 'int-enum',
532 'items': [ 541 'items': [
533 {'name': 'AllowCookies', 'value': 0}, 542 {'name': 'AllowCookies', 'value': 0},
534 {'name': 'BlockCookies', 'value': 1}, 543 {'name': 'BlockCookies', 'value': 1},
535 ], 544 ],
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 { 706 {
698 'key': '$4', 707 'key': '$4',
699 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started' 708 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started'
700 }, 709 },
701 { 710 {
702 'key': '$5', 711 'key': '$5',
703 'value': 'http://www.chromium.org/administrators/policy-templates' 712 'value': 'http://www.chromium.org/administrators/policy-templates'
704 }, 713 },
705 ] 714 ]
706 } 715 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698