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

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: Fix compiling issuese; another round of renaming; code cleanup. 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 45006a30e2ede3db2772a3e13f57fabf2f7a6398..2a104c16719bb5a730bf6c580a2212b5a4711ea9 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:
@@ -3144,6 +3144,76 @@
If this policy is left not set, 'BlockKeygen' will be used and the user will be able to change it.''',
},
{
+ 'name': 'UserCookiesExceptionsUsage',
bartfab (slow) 2016/04/11 10:27:31 This is still a weird name. "Usage" sounds extreme
huangs 2016/04/11 19:01:03 How about "UserCookiesExceptionsOverride" ?
bartfab (slow) 2016/04/12 12:55:16 I am looking for something that is unambiguous. "U
+ 'type': 'int-enum',
+ 'schema': {
+ 'type': 'integer',
+ 'enum': [ 1, 2 ],
+ },
+ 'items': [
+ {
+ 'name': 'AllowUserCookiesExceptions',
+ 'value': 1,
+ 'caption': '''Allow users to specify cookies exceptions''',
+ },
+ {
+ 'name': 'BlockUserCookiesExceptions',
+ 'value': 2,
+ 'caption': '''Do not allow users to specify cookies exceptions''',
+ },
+ ],
+ 'supported_on': [
+ 'chrome.*:51-',
+ 'chrome_os:51-',
+ ],
+ '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, 2 ],
+ },
+ 'items': [
+ {
+ 'name': 'AllowUserPopupsExceptions',
+ 'value': 1,
+ 'caption': '''Allow users to specify pop-ups exceptions''',
+ },
+ {
+ 'name': 'BlockUserPopupsExceptions',
+ 'value': 2,
+ 'caption': '''Do not allow users to specify pop-ups exceptions''',
+ },
+ ],
+ 'supported_on': [
+ 'chrome.*:51-',
+ 'chrome_os:51-',
+ ],
+ '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': {

Powered by Google App Engine
This is Rietveld 408576698