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

Unified Diff: chrome/test/data/extensions/socket_permissions/socket2.json

Issue 10692160: Support socket endpoint permissions for AppsV2 Socket API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase and fix a unit test Created 8 years, 4 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
« no previous file with comments | « chrome/test/data/extensions/socket_permissions/socket1.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/socket_permissions/socket2.json
diff --git a/chrome/test/data/extensions/socket_permissions/socket2.json b/chrome/test/data/extensions/socket_permissions/socket2.json
new file mode 100644
index 0000000000000000000000000000000000000000..defd0ac9b8fc5c921ac92db0174a247e5197835d
--- /dev/null
+++ b/chrome/test/data/extensions/socket_permissions/socket2.json
@@ -0,0 +1,23 @@
+{
+ "name": "effective host permisions test",
+ "version": "1.0",
+ "manifest_version": 2,
+ "app": {
+ "background": {
+ "scripts": ["background.js"]
+ }
+ },
+ "permissions": [
+ {"socket": [
+ "tcp-connect",
+ "tcp-connect:example.com",
+ "tcp-connect:example.com:80",
+ "tcp-connect:example.com:*",
+ "tcp-connect:*.example.com",
+ "tcp-listen",
+ "tcp-listen::8080",
+ "udp-bind::8888",
+ "udp-send-to:239.255.255.250:1900"
+ ]}
+ ]
+}
« no previous file with comments | « chrome/test/data/extensions/socket_permissions/socket1.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698