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

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

Issue 7537025: Add new Content settings type AUTO-SUBMIT-CERTIFICATE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 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 | 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # policy configuration files. 'dynamic_refresh' controls if the generated 87 # policy configuration files. 'dynamic_refresh' controls if the generated
88 # documentation should state that the policy supports dynamic refresh or not. 88 # documentation should state that the policy supports dynamic refresh or not.
89 # Supporting dynamic refresh means that Chrome respects the changes to the 89 # Supporting dynamic refresh means that Chrome respects the changes to the
90 # policy immediately, without the need for restart. 90 # policy immediately, without the need for restart.
91 # 91 #
92 # IDs: 92 # IDs:
93 # Since a Protocol Buffer definition is generated from this file, unique and 93 # Since a Protocol Buffer definition is generated from this file, unique and
94 # persistent IDs for all fields (but not for groups!) are needed. These are 94 # persistent IDs for all fields (but not for groups!) are needed. These are
95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
96 # because doing so would break the deployed wire format! 96 # because doing so would break the deployed wire format!
97 # For your editing convenience: highest ID currently used: 96 97 # For your editing convenience: highest ID currently used: 98
98 # 98 #
99 # Placeholders: 99 # Placeholders:
100 # The following placeholder strings are automatically substituted: 100 # The following placeholder strings are automatically substituted:
101 # $1 -> Google Chrome / Chromium 101 # $1 -> Google Chrome / Chromium
102 # $2 -> Google Chrome OS / Chromium OS 102 # $2 -> Google Chrome OS / Chromium OS
103 # $3 -> Google Chrome Frame / Chromium Frame 103 # $3 -> Google Chrome Frame / Chromium Frame
104 # $6 is reserved for doc_writer 104 # $6 is reserved for doc_writer
105 # 105 #
106 # Device Policy: 106 # Device Policy:
107 # An additional flag device_only (optional, defaults to False) indicates 107 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 }, 1265 },
1266 ], 1266 ],
1267 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], 1267 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
1268 'features': {'dynamic_refresh': 1}, 1268 'features': {'dynamic_refresh': 1},
1269 'example_value': 0, 1269 'example_value': 0,
1270 'id': 54, 1270 'id': 54,
1271 'caption': '''Default geolocation setting''', 1271 'caption': '''Default geolocation setting''',
1272 'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked everytime a website reque sts the pysical location.''', 1272 'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked everytime a website reque sts the pysical location.''',
1273 }, 1273 },
1274 { 1274 {
1275 'name': 'DefaultAutoSubmitCertificateSetting',
1276 'type': 'int-enum',
1277 'items': [
1278 {
1279 'name': 'AllowAutoSubmitCertificate',
1280 'value': 1,
1281 'caption': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ ex> to automatically select client certificates.'''
1282 },
1283 {
1284 'name': 'BlockAutoSubmitCertificate',
1285 'value': 2,
1286 'caption': '''Blocks certificates from being transfered to sites t hat requests client certificates.'''
wtc 2011/08/18 22:03:38 Nit: transfered => sent sites that requests => si
markusheintz_ 2011/08/19 15:17:58 Done.
1287 },
1288 {
1289 'name': 'AskAutoSubmitCertificat',
wtc 2011/08/18 22:03:38 Typo: AskAutoSubmitCertificat is missing an 'e' at
markusheintz_ 2011/08/19 15:17:58 Uuups. Done
1290 'value': 3,
1291 'caption': '''Asks the user to select a certificate whenever a sit e requests a client certificate.''',
1292 },
wtc 2011/08/18 22:03:38 Can the names be simply "Auto" (or "AutoSelect"),
markusheintz_ 2011/08/19 15:17:58 In general I would be fine with the names you sugg
1293 ],
1294 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'],
1295 'features': {'dynamic_refresh': 1},
1296 'example_value': 1,
1297 'id': 97,
1298 'caption': '''Default setting for selecting client certificates''',
1299 'desc': '''Allows you to set whether a client certificate should be au tomatically selected by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex> (if pos sible), the user should be asked to select a client certificate or no certificat es should be transmitted to sites requesting client certificates.''',
wtc 2011/08/18 22:03:38 Nit: transmitted => sent
markusheintz_ 2011/08/19 15:17:58 Done.
1300 },
1301 {
1302 'name': 'AutoSubmitCertificateForUrls',
1303 'type': 'list',
1304 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'],
1305 'features': {'dynamic_refresh': 1},
1306 'example_value': ['https://www.example.com', '[*.]example.edu'],
1307 'id': 98,
1308 'caption': '''Auto select client certificates for these sites''',
wtc 2011/08/18 22:03:38 Nit: Auto select => Automatically select
markusheintz_ 2011/08/19 15:17:58 Done.
1309 'desc': '''Allows you to specify a list of url patterns that specify s ites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex> should automatic ally select a client certificates, if the site requests a certificate.''',
1310 },
1311 {
1275 'name': 'CookiesAllowedForUrls', 1312 'name': 'CookiesAllowedForUrls',
1276 'type': 'list', 1313 'type': 'list',
1277 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], 1314 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
1278 'features': {'dynamic_refresh': 1}, 1315 'features': {'dynamic_refresh': 1},
1279 'example_value': ['http://www.example.com', '[*.]example.edu'], 1316 'example_value': ['http://www.example.com', '[*.]example.edu'],
1280 'id': 77, 1317 'id': 77,
1281 'caption': '''Allow cookies on these sites''', 1318 'caption': '''Allow cookies on these sites''',
1282 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.''', 1319 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.''',
1283 }, 1320 },
1284 { 1321 {
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', 1813 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
1777 'text': '''Dynamic Policy Refresh''' 1814 'text': '''Dynamic Policy Refresh'''
1778 }, 1815 },
1779 'doc_deprecated': { 1816 'doc_deprecated': {
1780 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1817 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1781 'text': 'deprecated', 1818 'text': 'deprecated',
1782 } 1819 }
1783 }, 1820 },
1784 'placeholders': [], 1821 'placeholders': [],
1785 } 1822 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698