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 71a5c167f89aef4d1f5ae2cefe68defa2b90ab04..1108caa63fd7df4e62667e3d2722595e9bdccf6f 100644 |
| --- a/components/policy/resources/policy_templates.json |
| +++ b/components/policy/resources/policy_templates.json |
| @@ -137,7 +137,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: 339 |
| +# For your editing convenience: highest ID currently used: 340 |
| # |
| # Placeholders: |
| # The following placeholder strings are automatically substituted: |
| @@ -1053,13 +1053,13 @@ |
| 'id': 162, |
| 'caption': '''Force SafeSearch''', |
| 'tags': ['filtering'], |
| - 'desc': '''This policy is deprecated, please use ForceGoogleSafeSearch and ForceYouTubeSafetyMode instead. This policy will be ignored if either the ForceGoogleSafeSearch or ForceYouTubeSafetyMode policies are set. |
| + 'desc': '''This policy is deprecated, please use ForceGoogleSafeSearch and ForceYouTubeRestrict instead. This policy will be ignored if either the ForceGoogleSafeSearch, the ForceYouTubeRestrict or the (deprecated) ForceYouTubeSafetyMode policies are set. |
|
Thiemo Nagel
2016/08/12 12:12:21
Please wrap policy names in <ph name...>...</ph> t
ljusten (tachyonic)
2016/08/16 09:24:54
Acknowledged.
|
| - Forces queries in Google Web Search to be done with SafeSearch set to active and prevents users from changing this setting. This setting also forces Safety Mode on YouTube. |
| + Forces queries in Google Web Search to be done with SafeSearch set to active and prevents users from changing this setting. This setting also forces Moderate Restricted Mode on YouTube. |
| - If you enable this setting, SafeSearch in Google Search and YouTube is always active. |
| + If you enable this setting, SafeSearch in Google Search and Moderate Restricted Mode YouTube is always active. |
| - If you disable this setting or do not set a value, SafeSearch in Google Search and YouTube is not enforced.''', |
| + If you disable this setting or do not set a value, SafeSearch in Google Search and Restricted Mode in YouTube is not enforced.''', |
| }, |
| { |
| 'name': 'ForceGoogleSafeSearch', |
| @@ -1091,15 +1091,63 @@ |
| 'dynamic_refresh': True, |
| 'per_profile': True, |
| }, |
| + 'deprecated': True, |
| 'example_value': False, |
| 'id': 283, |
| 'caption': '''Force YouTube Safety Mode''', |
| 'tags': ['filtering'], |
| - 'desc': '''Forces YouTube Safety Mode to active and prevents users from changing this setting. |
| + 'desc': '''This policy is deprecated. Consider using ForceYouTubeRestrict, which allows more fine-grained tuning. |
| + |
| + Forces YouTube Moderate Restricted Mode and prevents users from changing this setting. |
| + |
| + If you enable this setting, Restricted Mode on YouTube is always enforced to be at least Moderate. |
| + |
| + If you disable this setting or do not set a value, Restricted Mode on YouTube is not enforced.''', |
| + }, |
| + { |
| + 'name': 'ForceYouTubeRestrict', |
| + 'type': 'int-enum', |
| + 'schema': { |
| + 'type': 'integer', |
| + 'enum': [ 0, 1, 2 ], |
| + }, |
| + 'items': [ |
| + { |
| + 'name': 'Off', |
| + 'value': 0, |
| + 'caption': '''Do not enforce Restricted Mode on YouTube''', |
| + }, |
| + { |
| + 'name': 'Moderate', |
| + 'value': 1, |
| + 'caption': '''Enforce at least Moderate Restricted Mode on YouTube''', |
| + }, |
| + { |
| + 'name': 'Strict', |
| + 'value': 2, |
| + 'caption': '''Enforce Strict Restricted Mode for YouTube''', |
| + }, |
| + ], |
| + 'supported_on': ['chrome.*:54-', 'chrome_os:54-', 'android:54-'], |
| + 'features': { |
| + 'can_be_recommended': False, |
| + 'dynamic_refresh': True, |
| + 'per_profile': True, |
| + }, |
| + 'example_value': 0, |
| + 'id': 340, |
| + 'caption': '''Force minimum YouTube Restricted Mode''', |
| + 'tags': ['filtering'], |
| + 'desc': '''Enforces a minimum Restricted Mode on YouTube and prevents users from |
| + picking a less restricted mode. |
| + |
| + If you set this setting to Strict, Strict Restricted Mode on YouTube is always active. |
|
Thiemo Nagel
2016/08/12 12:12:21
Style nit: Imho passive voice should be preferred
ljusten (tachyonic)
2016/08/16 09:24:54
Done.
|
| - If you enable this setting, Safety Mode on YouTube is always active. |
| + If you set this setting to Moderate, the user may only pick Moderate Restricted Mode |
| + and Strict Restricted Mode on YouTube, but cannot disable Restricted Mode. |
| - If you disable this setting or do not set a value, Safety Mode on YouTube is not enforced.''', |
| + If you set this setting to Off or do not set a value, Restricted Mode on YouTube is |
| + not enforced. The user may pick any value''', |
| }, |
| { |
| 'name': 'SafeBrowsingEnabled', |