| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 # templates and documentation. The policy definition list that Chrome sees | 105 # templates and documentation. The policy definition list that Chrome sees |
| 106 # will include policies marked with 'future'. If a WIP policy isn't meant to | 106 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 107 # be seen by the policy providers either, the 'supported_on' key should be set | 107 # be seen by the policy providers either, the 'supported_on' key should be set |
| 108 # to an empty list. | 108 # to an empty list. |
| 109 # | 109 # |
| 110 # IDs: | 110 # IDs: |
| 111 # Since a Protocol Buffer definition is generated from this file, unique and | 111 # Since a Protocol Buffer definition is generated from this file, unique and |
| 112 # persistent IDs for all fields (but not for groups!) are needed. These are | 112 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 114 # because doing so would break the deployed wire format! | 114 # because doing so would break the deployed wire format! |
| 115 # For your editing convenience: highest ID currently used: 147 | 115 # For your editing convenience: highest ID currently used: 148 |
| 116 # | 116 # |
| 117 # Placeholders: | 117 # Placeholders: |
| 118 # The following placeholder strings are automatically substituted: | 118 # The following placeholder strings are automatically substituted: |
| 119 # $1 -> Google Chrome / Chromium | 119 # $1 -> Google Chrome / Chromium |
| 120 # $2 -> Google Chrome OS / Chromium OS | 120 # $2 -> Google Chrome OS / Chromium OS |
| 121 # $3 -> Google Chrome Frame / Chromium Frame | 121 # $3 -> Google Chrome Frame / Chromium Frame |
| 122 # $6 is reserved for doc_writer | 122 # $6 is reserved for doc_writer |
| 123 # | 123 # |
| 124 # Device Policy: | 124 # Device Policy: |
| 125 # An additional flag device_only (optional, defaults to False) indicates | 125 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 | 1097 |
| 1098 For each item, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> w
ill retrieve the extension specified by the extension ID from the update service
at the specified update URL and silently install it. | 1098 For each item, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> w
ill retrieve the extension specified by the extension ID from the update service
at the specified update URL and silently install it. |
| 1099 | 1099 |
| 1100 For example, <ph name="EXTENSION_POLICY_EXAMPLE">lcncmkcnkcdbbanbjakce
ncbaoegdjlp;https://clients2.google.com/service/update2/crx</ph> installs the <p
h name="EXTENSION_POLICY_EXAMPLE_EXTENSION_NAME">Google SSL Web Search</ph> exte
nsion from the standard Chrome Web Store update URL. For more information about
hosting extensions, see: <ph name="LINK_TO_EXTENSION_DOC2">http://code.google.co
m/chrome/extensions/hosting.html</ph>. | 1100 For example, <ph name="EXTENSION_POLICY_EXAMPLE">lcncmkcnkcdbbanbjakce
ncbaoegdjlp;https://clients2.google.com/service/update2/crx</ph> installs the <p
h name="EXTENSION_POLICY_EXAMPLE_EXTENSION_NAME">Google SSL Web Search</ph> exte
nsion from the standard Chrome Web Store update URL. For more information about
hosting extensions, see: <ph name="LINK_TO_EXTENSION_DOC2">http://code.google.co
m/chrome/extensions/hosting.html</ph>. |
| 1101 | 1101 |
| 1102 Users will be unable to uninstall extensions that are specified by thi
s policy. If you remove an extension from this list, then it will be automatical
ly uninstalled by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. | 1102 Users will be unable to uninstall extensions that are specified by thi
s policy. If you remove an extension from this list, then it will be automatical
ly uninstalled by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
| 1103 | 1103 |
| 1104 If this policy is left not set the user can uninstall any extension i
n <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', | 1104 If this policy is left not set the user can uninstall any extension i
n <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', |
| 1105 'label': '''Extension IDs and update URLs to be silently installed''', | 1105 'label': '''Extension IDs and update URLs to be silently installed''', |
| 1106 }, | 1106 }, |
| 1107 { |
| 1108 'name': 'ExtensionInstallSources', |
| 1109 'type': 'list', |
| 1110 'supported_on': ['chrome.*:21-', 'chrome_os:21-'], |
| 1111 'features': {'dynamic_refresh': True}, |
| 1112 'example_value': ['https://corp.mycompany.com/*'], |
| 1113 'id': 148, |
| 1114 'caption': '''Configure extension, app, and user script install source
s''', |
| 1115 'desc': '''Allows you to specify which URLs are allowed to install ext
ensions, apps, and themes. |
| 1116 |
| 1117 Starting in Chrome 21, it is more difficult to install extensions, app
s, and user scripts from outside the Chrome Web Store. Previously, users could c
lick on a link to a *.crx file, and Chrome would offer to install the file after
a few warnings. After Chrome 21, such files must be downloaded an dragged onto
the Chrome settings page. This setting allows specific URLs to have the old, eas
ier installation flow. |
| 1118 |
| 1119 Each item in this list is an extension-style match pattern (see http:/
/code.google.com/chrome/extensions/match_patterns.html). Users will be able to e
asily install items from any URL that matches an item in this list. |
| 1120 |
| 1121 ExtensionInstallBlacklist takes precedence over this policy. That is,
an extension on the blacklist won't be installed, even if it happens from a site
on this list.''', |
| 1122 'label': '''URL patterns to allow extension, app, and user script inst
alls from''', |
| 1123 }, |
| 1107 ], | 1124 ], |
| 1108 }, | 1125 }, |
| 1109 { | 1126 { |
| 1110 'name': 'ShowHomeButton', | 1127 'name': 'ShowHomeButton', |
| 1111 'type': 'main', | 1128 'type': 'main', |
| 1112 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], | 1129 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], |
| 1113 'features': { | 1130 'features': { |
| 1114 'dynamic_refresh': True, | 1131 'dynamic_refresh': True, |
| 1115 'can_be_recommended': True, | 1132 'can_be_recommended': True, |
| 1116 }, | 1133 }, |
| (...skipping 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2786 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 2803 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
| 2787 'text': 'deprecated', | 2804 'text': 'deprecated', |
| 2788 }, | 2805 }, |
| 2789 'doc_recommended': { | 2806 'doc_recommended': { |
| 2790 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 2807 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
| 2791 'text': 'Recommended', | 2808 'text': 'Recommended', |
| 2792 }, | 2809 }, |
| 2793 }, | 2810 }, |
| 2794 'placeholders': [], | 2811 'placeholders': [], |
| 2795 } | 2812 } |
| OLD | NEW |