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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
| 133 # will include policies marked with 'future'. If a WIP policy isn't meant to | 133 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 134 # be seen by the policy providers either, the 'supported_on' key should be set | 134 # be seen by the policy providers either, the 'supported_on' key should be set |
| 135 # to an empty list. | 135 # to an empty list. |
| 136 # | 136 # |
| 137 # IDs: | 137 # IDs: |
| 138 # Since a Protocol Buffer definition is generated from this file, unique and | 138 # Since a Protocol Buffer definition is generated from this file, unique and |
| 139 # persistent IDs for all fields (but not for groups!) are needed. These are | 139 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 141 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
| 142 # For your editing convenience: highest ID currently used: 359 | 142 # For your editing convenience: highest ID currently used: 360 |
| 143 # And don't forget to also update the EnterprisePolicies enum of | |
|
pastarmovj
2017/01/19 14:56:21
Nice addition :)
MAD
2017/01/19 16:13:30
Acknowledged.
| |
| 144 # histograms.xml. | |
| 143 # | 145 # |
| 144 # Placeholders: | 146 # Placeholders: |
| 145 # The following placeholder strings are automatically substituted: | 147 # The following placeholder strings are automatically substituted: |
| 146 # $1 -> Google Chrome / Chromium | 148 # $1 -> Google Chrome / Chromium |
| 147 # $2 -> Google Chrome OS / Chromium OS | 149 # $2 -> Google Chrome OS / Chromium OS |
| 148 # $3 -> Google Chrome Frame / Chromium Frame | 150 # $3 -> Google Chrome Frame / Chromium Frame |
| 149 # $6 is reserved for doc_writer | 151 # $6 is reserved for doc_writer |
| 150 # | 152 # |
| 151 # Device Policy: | 153 # Device Policy: |
| 152 # An additional flag 'device_only' (optional, defaults to False) indicates | 154 # An additional flag 'device_only' (optional, defaults to False) indicates |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 278 If you enable or disable this setting, users cannot change their homep age type in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. | 280 If you enable or disable this setting, users cannot change their homep age type in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
| 279 | 281 |
| 280 Leaving this policy not set will allow the user to choose whether the new tab page is their home page on their own. | 282 Leaving this policy not set will allow the user to choose whether the new tab page is their home page on their own. |
| 281 | 283 |
| 282 This policy is not available on Windows instances that are not joined | 284 This policy is not available on Windows instances that are not joined |
| 283 to an Active Directory domain.''', | 285 to an Active Directory domain.''', |
| 284 }, | 286 }, |
| 285 ], | 287 ], |
| 286 }, | 288 }, |
| 287 { | 289 { |
| 290 'name': 'NewTabPage', | |
| 291 'type': 'group', | |
| 292 'caption': '''New Tab Page''', | |
| 293 'desc': '''Configure the default New Tab page in <ph name="PRODUCT_NAME">$ 1<ex>Google Chrome</ex></ph>.''', | |
| 294 'policies': [ | |
| 295 { | |
| 296 'name': 'NewTabPageLocation', | |
| 297 'type': 'string', | |
| 298 'schema': { 'type': 'string' }, | |
| 299 'supported_on': ['chrome.*:57-', 'chrome_os:57-'], | |
| 300 'features': { | |
| 301 'can_be_recommended': True, | |
| 302 'dynamic_refresh': True, | |
| 303 'per_profile': True, | |
| 304 }, | |
| 305 'example_value': 'https://www.chromium.org', | |
| 306 'id': 360, | |
| 307 'caption': '''Configure the New Tab page URL''', | |
| 308 'tags': [], | |
| 309 'desc': '''Configures the default New Tab page URL in <ph name="PRODUC T_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it. | |
| 310 | |
| 311 The New Tab page is the page opened when new tabs are created (includi ng the one opened in new windowsa). The pages that open on startup are controlle d by the RestoreOnStartup policies, which could be to open the New Tab page. | |
|
pastarmovj
2017/01/19 14:56:21
s/windowsa/windows/
MAD
2017/01/19 16:13:30
Done.
| |
| 312 | |
| 313 The NewTabPageLocation can be set to a URL you specify here. It will a lso affect the Home Page if it is set to open the New Tab page, as well as the s tartup page if set to New Tab page. | |
| 314 | |
| 315 This policy is not available on Windows instances that are not joined to an Active Directory domain.''', | |
| 316 'label': '''New Tab page URL''', | |
| 317 }, | |
| 318 ], | |
| 319 }, | |
| 320 { | |
| 288 'name': 'DefaultBrowserSettingEnabled', | 321 'name': 'DefaultBrowserSettingEnabled', |
| 289 'type': 'main', | 322 'type': 'main', |
| 290 'schema': { 'type': 'boolean' }, | 323 'schema': { 'type': 'boolean' }, |
| 291 'supported_on': ['chrome.*:11-'], | 324 'supported_on': ['chrome.*:11-'], |
| 292 'features': { | 325 'features': { |
| 293 'dynamic_refresh': True, | 326 'dynamic_refresh': True, |
| 294 'per_profile': False, | 327 'per_profile': False, |
| 295 }, | 328 }, |
| 296 'example_value': True, | 329 'example_value': True, |
| 297 'id': 3, | 330 'id': 3, |
| (...skipping 9240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9538 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 9571 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 9539 'text': 'Default Settings (users can override)', | 9572 'text': 'Default Settings (users can override)', |
| 9540 }, | 9573 }, |
| 9541 'doc_complex_policies_on_windows': { | 9574 'doc_complex_policies_on_windows': { |
| 9542 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 9575 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 9543 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', | 9576 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', |
| 9544 }, | 9577 }, |
| 9545 }, | 9578 }, |
| 9546 'placeholders': [], | 9579 'placeholders': [], |
| 9547 } | 9580 } |
| OLD | NEW |