Chromium Code Reviews| Index: components/policy/resources/policy_templates.json |
| diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
| index 723e96c1da9caf1b82c7aadbe1c622a4f86b17af..a1b55bf46eb1c68bb17cf10ad1b1d0e2013fcc5e 100644 |
| --- a/components/policy/resources/policy_templates.json |
| +++ b/components/policy/resources/policy_templates.json |
| @@ -143,7 +143,7 @@ |
| # persistent IDs for all fields (but not for groups!) are needed. These are |
| # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| # because doing so would break the deployed wire format! |
| -# For your editing convenience: highest ID currently used: 372 |
| +# For your editing convenience: highest ID currently used: 373 |
| # And don't forget to also update the EnterprisePolicies enum of |
| # histograms.xml (run 'python tools/metrics/histograms/update_policies.py'). |
| # |
| @@ -1796,6 +1796,34 @@ |
| 'arc_support': 'This policy has no effect on Android apps. Android apps always use the default downloads directory and cannot access any files downloaded by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> into a non-default downloads directory.', |
| }, |
| { |
| + 'name': 'SafeBrowsingForTrustedSourcesEnabled', |
| + 'type': 'main', |
| + 'schema': { 'type': 'boolean' }, |
| + 'supported_on': ['chrome.*:61-', 'chrome_os:61-'], |
| + 'features': { |
| + 'can_be_recommended': True, |
| + 'dynamic_refresh': True, |
| + 'per_profile': True, |
| + }, |
| + 'example_value': False, |
| + 'id': 373, |
| + 'caption': '''SafeBrowsing enable state for trusted sources''', |
| + 'tags': ['local-data-access'], |
| + 'desc': '''Identify if <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> can allow download without Safe Browsing checks when it's from a trusted source. |
| + |
| + When False, downloaded files will not be sent to be analyzed by Safe Browsing when it's from a trusted source. |
| + |
| + When not set (or set to True, which is the default value), downloaded files are sent to be analyzed by Safe Browsing, even when it's from a trusted source. |
|
pastarmovj
2017/06/22 23:08:45
nit: remove the "which is the default value" becau
MAD
2017/06/29 14:44:53
Done.
|
| + |
| + Note that these restrictions apply to downloads triggered from web page content, as well as the 'download link...' context menu option. |
| + |
| + But these restrictions do not apply to the save / download of the currently displayed page, nor does it apply to saving as PDF from the printing options. |
| + |
| + This policy is not available on Windows instances that are not joined |
| + to a Microsoft® Active Directory® domain.''', |
| + 'label': '''SafeBrowsing enable state for trusted sources''', |
| + }, |
| + { |
| 'name': 'ClearSiteDataOnExit', |
| 'type': 'main', |
| 'schema': { 'type': 'boolean' }, |