Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 96 # policy immediately, without the need for restart. | 96 # policy immediately, without the need for restart. |
| 97 # 'can_be_recommended' can be set to True to include that policy in the | 97 # 'can_be_recommended' can be set to True to include that policy in the |
| 98 # recommended policies templates. This only affects the template generation; | 98 # recommended policies templates. This only affects the template generation; |
| 99 # all policies can be at the recommended level. The default is False. | 99 # all policies can be at the recommended level. The default is False. |
| 100 # | 100 # |
| 101 # IDs: | 101 # IDs: |
| 102 # Since a Protocol Buffer definition is generated from this file, unique and | 102 # Since a Protocol Buffer definition is generated from this file, unique and |
| 103 # persistent IDs for all fields (but not for groups!) are needed. These are | 103 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 104 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 104 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 105 # because doing so would break the deployed wire format! | 105 # because doing so would break the deployed wire format! |
| 106 # For your editing convenience: highest ID currently used: 114 | 106 # For your editing convenience: highest ID currently used: 115 |
| 107 # | 107 # |
| 108 # Placeholders: | 108 # Placeholders: |
| 109 # The following placeholder strings are automatically substituted: | 109 # The following placeholder strings are automatically substituted: |
| 110 # $1 -> Google Chrome / Chromium | 110 # $1 -> Google Chrome / Chromium |
| 111 # $2 -> Google Chrome OS / Chromium OS | 111 # $2 -> Google Chrome OS / Chromium OS |
| 112 # $3 -> Google Chrome Frame / Chromium Frame | 112 # $3 -> Google Chrome Frame / Chromium Frame |
| 113 # $6 is reserved for doc_writer | 113 # $6 is reserved for doc_writer |
| 114 # | 114 # |
| 115 # Device Policy: | 115 # Device Policy: |
| 116 # An additional flag device_only (optional, defaults to False) indicates | 116 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 2099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2216 'supported_on': ['chrome.*:17-'], | 2216 'supported_on': ['chrome.*:17-'], |
| 2217 'features': {'dynamic_refresh': True}, | 2217 'features': {'dynamic_refresh': True}, |
| 2218 'future': True, | 2218 'future': True, |
| 2219 'example_value': True, | 2219 'example_value': True, |
| 2220 'id': 114, | 2220 'id': 114, |
| 2221 'caption': '''Enable TLS origin-bound certificates extension''', | 2221 'caption': '''Enable TLS origin-bound certificates extension''', |
| 2222 'desc': '''Specifies whether the TLS origin-bound certificates extension s hould be enabled. | 2222 'desc': '''Specifies whether the TLS origin-bound certificates extension s hould be enabled. |
| 2223 | 2223 |
| 2224 This setting is used to enable the TLS origin-bound certificates extension for testing. This experimental setting will be removed in the future.''', | 2224 This setting is used to enable the TLS origin-bound certificates extension for testing. This experimental setting will be removed in the future.''', |
| 2225 }, | 2225 }, |
| 2226 { | |
| 2227 'name': 'EnableMemoryInfo', | |
| 2228 'type': 'main', | |
| 2229 'supported_on': ['chrome.*:16-'], | |
| 2230 'features': {'dynamic_refresh': True}, | |
| 2231 'future': True, | |
|
Mattias Nissler (ping if slow)
2011/12/12 10:10:58
Is this going to stay for good? If yes, you can ju
| |
| 2232 'example_value': False, | |
| 2233 'id': 115, | |
| 2234 'caption': '''Enable reporting memory info (JS heap size) to page''', | |
| 2235 'desc': '''Allows pages to access JavaScript memory usage statistics. | |
| 2236 | |
| 2237 This settings makes the memory statistics from the Developer Tools Profile s panel available to the web page itself.''', | |
| 2238 }, | |
| 2226 ], | 2239 ], |
| 2227 'messages': { | 2240 'messages': { |
| 2228 # Messages that are not associated to any policies. | 2241 # Messages that are not associated to any policies. |
| 2229 'win_supported_winxpsp2': { | 2242 'win_supported_winxpsp2': { |
| 2230 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', | 2243 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', |
| 2231 'text': '''Microsoft Windows XP SP2 or later''' | 2244 'text': '''Microsoft Windows XP SP2 or later''' |
| 2232 }, | 2245 }, |
| 2233 'mac_chrome_preferences': { | 2246 'mac_chrome_preferences': { |
| 2234 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', | 2247 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', |
| 2235 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 2248 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2314 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 2327 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 2315 'text': 'deprecated', | 2328 'text': 'deprecated', |
| 2316 }, | 2329 }, |
| 2317 'doc_recommended': { | 2330 'doc_recommended': { |
| 2318 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 2331 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 2319 'text': 'Recommended', | 2332 'text': 'Recommended', |
| 2320 }, | 2333 }, |
| 2321 }, | 2334 }, |
| 2322 'placeholders': [], | 2335 'placeholders': [], |
| 2323 } | 2336 } |
| OLD | NEW |