diff options
author | markusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 18:42:33 +0000 |
---|---|---|
committer | markusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 18:42:33 +0000 |
commit | b60de2fb0d575840bc961259f47b6dfaeea7568e (patch) | |
tree | ed7978c64eee4b628b7438e17a22bd76895f0ce3 /chrome/app/policy | |
parent | b3561fc7fdaace79a9c9cc74c09035992a56b2f4 (diff) | |
download | chromium_src-b60de2fb0d575840bc961259f47b6dfaeea7568e.zip chromium_src-b60de2fb0d575840bc961259f47b6dfaeea7568e.tar.gz chromium_src-b60de2fb0d575840bc961259f47b6dfaeea7568e.tar.bz2 |
Add policies for notifications exceptions.
BUG=63182
TEST=none
Review URL: http://codereview.chromium.org/7851015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy')
-rw-r--r-- | chrome/app/policy/policy_templates.json | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json index 02dee1a..036d672 100644 --- a/chrome/app/policy/policy_templates.json +++ b/chrome/app/policy/policy_templates.json @@ -94,7 +94,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: 104 +# For your editing convenience: highest ID currently used: 106 # # Placeholders: # The following placeholder strings are automatically substituted: @@ -1390,6 +1390,26 @@ 'id': 76, 'caption': '''Block popups on these sites''', 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups.''', + }, + { + 'name': 'NotificationsAllowedForUrls', + 'type': 'list', + 'supported_on': ['chrome.*:16-', 'chrome_os:0.16-'], + 'features': {'dynamic_refresh': 1}, + 'example_value': ['http://www.example.com', '[*.]example.edu'], + 'id': 105, + 'caption': '''Allow notifications on these sites''', + 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display notifications.''', + }, + { + 'name': 'NotificationsBlockedForUrls', + 'type': 'list', + 'supported_on': ['chrome.*:16-', 'chrome_os:0.16-'], + 'features': {'dynamic_refresh': 1}, + 'example_value': ['http://www.example.com', '[*.]example.edu'], + 'id': 106, + 'caption': '''Block notifications on these sites''', + 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display notifications.''', } ], }, |