Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Unified Diff: components/policy/resources/policy_templates.json

Issue 1865803002: [Policy Experimental] Add policies to allow Cookies and Pop-ups exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync; compile fix in PolicyProvider::GetUserExceptionsUsageSettingForType(). Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 31b61a4e20c238a657ee234c674df610a9f66256..8bb006e4936c2f3026642d25582cddd0813893fc 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: 325
+# For your editing convenience: highest ID currently used: 328
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3146,6 +3146,66 @@
If this policy is left not set, 'BlockKeygen' will be used and the user will be able to change it.''',
},
{
+ 'name': 'UserCookiesExceptionsUsage',
+ 'type': 'int-enum',
+ 'schema': {
+ 'type': 'integer',
+ 'enum': [ 1 ],
+ },
+ 'items': [
+ {
+ 'name': 'AllowUserCookiesExceptions',
+ 'value': 1,
+ 'caption': '''Allow users to specify cookies exceptions''',
+ },
+ ],
+ 'supported_on': [
+ 'chrome.*:52-',
+ 'chrome_os:52-',
+ ],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': 1,
+ 'id': 327,
+ 'caption': '''User cookies exceptions usage setting''',
+ 'tags': [],
+ 'desc': '''Allows you to specify whether users can set exceptions to override default cookies policy.
+
+ If this policy is left not set, user's ability to set exceptions depends on policy default cookies setting.''',
+ },
+ {
+ 'name': 'UserPopupsExceptionsUsage',
+ 'type': 'int-enum',
+ 'schema': {
+ 'type': 'integer',
+ 'enum': [ 1 ],
+ },
+ 'items': [
+ {
+ 'name': 'AllowUserPopupsExceptions',
+ 'value': 1,
+ 'caption': '''Allow users to specify pop-ups exceptions''',
+ },
+ ],
+ 'supported_on': [
+ 'chrome.*:52-',
+ 'chrome_os:52-',
+ ],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': 1,
+ 'id': 328,
+ 'caption': '''User pop-ups exceptions usage setting''',
+ 'tags': [],
+ 'desc': '''Allows you to specify whether users can set exceptions to override default pop-ups policy.
+
+ If this policy is left not set, user's ability to set exceptions depends on policy default pop-ups setting.''',
+ },
+ {
'name': 'AutoSelectCertificateForUrls',
'type': 'list',
'schema': {
« no previous file with comments | « components/content_settings/core/test/content_settings_test_utils.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698