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 7532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 7543 name="URL">"url"</ph> key but with an additional <ph | 7543 name="URL">"url"</ph> key but with an additional <ph |
| 7544 name="CHILDREN">"children"</ph> key which itself contains a list of | 7544 name="CHILDREN">"children"</ph> key which itself contains a list of |
| 7545 bookmarks as defined above (some of which may be folders again). <ph | 7545 bookmarks as defined above (some of which may be folders again). <ph |
| 7546 name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> amends incomplete URLs | 7546 name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> amends incomplete URLs |
| 7547 as if they were submitted via the Omnibox, for example <ph | 7547 as if they were submitted via the Omnibox, for example <ph |
| 7548 name="GOOGLE_COM">"google.com"</ph> becomes <ph | 7548 name="GOOGLE_COM">"google.com"</ph> becomes <ph |
| 7549 name="HTTPS_GOOGLE_COM">"https://google.com/"</ph>. | 7549 name="HTTPS_GOOGLE_COM">"https://google.com/"</ph>. |
| 7550 | 7550 |
| 7551 These bookmarks are placed in a "Managed bookmarks" folder that can't be m odified by the user, but the user can choose to hide it from the bookmark bar. M anaged bookmarks are not synced to the user account and can't be modified by ext ensions. | 7551 These bookmarks are placed in a "Managed bookmarks" folder that can't be m odified by the user, but the user can choose to hide it from the bookmark bar. M anaged bookmarks are not synced to the user account and can't be modified by ext ensions. |
| 7552 | 7552 |
| 7553 The folder name for the bookmarks is customizable by adding a {"toplevel_n ame": "some name"} list item.''', | 7553 The folder name for the bookmarks is customizable by adding a {"toplevel_n ame": "some name"} list item, eg. set the policy value to [{"toplevel_name": "My managed bookmarks"}, {"url": "google.com", "name": "Google"}, {"url": "youtube. com", "name": "Youtube"}, {"name": "Chrome links", "children": [{"url": "chromiu m.org", "name": "Chromium"}, {"url": "dev.chromium.org", "name": "Chromium Devel opers"}]}]. This functionality is available starting from release 51.''', |
|
Thiemo Nagel
2016/06/06 18:39:32
Why don't you add toplevel_name to the example sec
Ivan Šandrk
2016/06/07 12:03:39
Done.
| |
| 7554 }, | 7554 }, |
| 7555 { | 7555 { |
| 7556 'name': 'DataCompressionProxyEnabled', | 7556 'name': 'DataCompressionProxyEnabled', |
| 7557 'type': 'main', | 7557 'type': 'main', |
| 7558 'schema': { 'type': 'boolean' }, | 7558 'schema': { 'type': 'boolean' }, |
| 7559 'supported_on': ['android:31-'], | 7559 'supported_on': ['android:31-'], |
| 7560 'features': { | 7560 'features': { |
| 7561 'dynamic_refresh': True, | 7561 'dynamic_refresh': True, |
| 7562 'per_profile': True, | 7562 'per_profile': True, |
| 7563 }, | 7563 }, |
| (...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8702 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 8702 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 8703 'text': 'Default Settings (users can override)', | 8703 'text': 'Default Settings (users can override)', |
| 8704 }, | 8704 }, |
| 8705 'doc_complex_policies_on_windows': { | 8705 'doc_complex_policies_on_windows': { |
| 8706 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 8706 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 8707 '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>' '', | 8707 '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>' '', |
| 8708 }, | 8708 }, |
| 8709 }, | 8709 }, |
| 8710 'placeholders': [], | 8710 'placeholders': [], |
| 8711 } | 8711 } |
| OLD | NEW |