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

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 nacl 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 709
710 You can specify the default search provider to be used by setting the rest of the default search policies. If these are left empty, the user can choos e the default provider. 710 You can specify the default search provider to be used by setting the rest of the default search policies. If these are left empty, the user can choos e the default provider.
711 711
712 If you diable this setting, no search is performed when the user enter s non-URL text in the omnibox. 712 If you diable this setting, no search is performed when the user enter s non-URL text in the omnibox.
713 713
714 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME"> 714 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">
715 $1<ex>Google Chrome</ex> 715 $1<ex>Google Chrome</ex>
716 </ph>.''', 716 </ph>.''',
717 }, 717 },
718 { 718 {
719 'name': 'BlockThirdPartyCookies',
720 'type': 'main',
721 'supported_on': ['chrome.*:10-'],
722 'features': {'dynamic_refresh': 1},
723 'example_value': False,
724 'caption': '''Block third party cookies''',
725 'desc': '''Blocks third party cookies.
726
727 Enabling this setting prevents cookies from being set by web page elem ents that are not from the domain that is in the browser's address bar.
728
729 Disabling this setting allows cookies to be set by web page elements t hat are not from the domain that is in the browser's address bar and prevents us ers from changing this setting.''',
730 },
731 {
719 'name': 'DefaultSearchProviderName', 732 'name': 'DefaultSearchProviderName',
720 'type': 'string', 733 'type': 'string',
721 'supported_on': ['chrome.*:8-'], 734 'supported_on': ['chrome.*:8-'],
722 'features': {'dynamic_refresh': 1}, 735 'features': {'dynamic_refresh': 1},
723 'example_value': 'My Intranet Search', 736 'example_value': 'My Intranet Search',
724 'caption': '''Default search provider name''', 737 'caption': '''Default search provider name''',
725 'desc': '''Specifies the name of the default search provider. If left empty, the host name specified by the search URL will be used.''', 738 'desc': '''Specifies the name of the default search provider. If left empty, the host name specified by the search URL will be used.''',
726 }, 739 },
727 { 740 {
728 'name': 'DefaultSearchProviderKeyword', 741 'name': 'DefaultSearchProviderKeyword',
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 { 1159 {
1147 'key': '$4', 1160 'key': '$4',
1148 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started' 1161 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started'
1149 }, 1162 },
1150 { 1163 {
1151 'key': '$5', 1164 'key': '$5',
1152 'value': 'http://www.chromium.org/administrators/policy-templates' 1165 'value': 'http://www.chromium.org/administrators/policy-templates'
1153 }, 1166 },
1154 ] 1167 ]
1155 } 1168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698