Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index bfca20328ca0d9c7200639e0b9ef215b74154e0f..0691ef47f6ab8b39574416f0e2819ab9698beab3 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -118,7 +118,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: 250 |
+# For your editing convenience: highest ID currently used: 252 |
# |
# Placeholders: |
# The following placeholder strings are automatically substituted: |
@@ -2530,6 +2530,64 @@ |
], |
}, |
{ |
+ 'name': 'NativeMessaging', |
+ 'type': 'group', |
+ 'caption': '''Native Messaging''', |
+ 'desc': '''Configures policies for Native Messaging. Blacklisted native messaging hosts won't be allowed unless they are whitelisted.''', |
+ 'policies': [ |
+ { |
+ 'name': 'NativeMessagingBlacklist', |
+ 'type': 'list', |
+ 'schema': { |
+ 'type': 'array', |
+ 'items': { 'type': 'string' }, |
+ }, |
+ 'supported_on': ['chrome.*:34-'], |
+ 'features': { |
+ 'dynamic_refresh': True, |
+ 'per_profile': True, |
+ }, |
+ 'example_value': [ |
+ 'com.native.messaging.host.name1', |
+ 'com.native.messaging.host.name1', |
Joao da Silva
2013/12/29 23:25:28
name2?
Sergey Ulanov
2014/01/06 23:21:55
Done.
|
+ ], |
+ 'id': 251, |
+ 'caption': '''Configure native messaging blacklist''', |
+ 'desc': '''Allows you to specify which native messaging hosts the users are not alloed. |
Joao da Silva
2013/12/29 23:25:28
*allowed
Seems like a bit of the sentence is miss
Sergey Ulanov
2014/01/06 23:21:55
Done.
|
+ |
+ A blacklist value of '*' means all native messaging hosts are blacklisted unless they are explicitly listed in the whitelist. |
+ |
+ If this policy is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will load all installed native messaging hosts.''', |
+ 'label': '''Names of the forbidden native messaging hosts (or * for all)''', |
+ }, |
+ { |
+ 'name': 'NativeMessagingWhitelist', |
+ 'type': 'list', |
+ 'schema': { |
+ 'type': 'array', |
+ 'items': { 'type': 'string' }, |
+ }, |
+ 'supported_on': ['chrome.*:34-'], |
+ 'features': { |
+ 'dynamic_refresh': True, |
+ 'per_profile': True, |
+ }, |
+ 'example_value': [ |
+ 'com.native.messaging.host.name1', |
+ 'com.native.messaging.host.name1', |
Joao da Silva
2013/12/29 23:25:28
name2?
Sergey Ulanov
2014/01/06 23:21:55
Done.
|
+ ], |
+ 'id': 252, |
+ 'caption': '''Configure native messaging whitelist''', |
+ 'desc': '''Allows you to specify which native messaging hosts are not subject to the blacklist. |
+ |
+ A blacklist value of * means all native messaging hosts are blacklisted and only native messaging hosts listed in the whitelist will be loaded. |
+ |
+ By default, all native messaging hosts are whitelisted, but if all native messaging hosts have been blacklisted by policy, the whitelist can be used to override that policy.''', |
+ 'label': '''Names of the native messaging hosts to exempt from the blacklist''', |
+ }, |
+ ], |
+ }, |
+ { |
'name': 'Disable3DAPIs', |
'type': 'main', |
'schema': { 'type': 'boolean' }, |