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

Unified Diff: chrome/common/extensions/api/manifest_types.json

Issue 217263002: Move sockets manifest types to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename, add new "API" for extensionsManifestTypes Created 6 years, 9 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: chrome/common/extensions/api/manifest_types.json
diff --git a/chrome/common/extensions/api/manifest_types.json b/chrome/common/extensions/api/manifest_types.json
index d2e1af6bcac04f722a8851b666da992b9cd3d634..f17b980b344bb1a068a2c9048be57ec7e94b5ba9 100644
--- a/chrome/common/extensions/api/manifest_types.json
+++ b/chrome/common/extensions/api/manifest_types.json
@@ -189,67 +189,6 @@
}
},
{
- "id": "SocketHostPatterns",
- "description": "<p>A single string or a list of strings representing host:port patterns.</p>",
- "choices": [
- { "type": "string" },
- { "type": "array", "items": { "type": "string" } }
- ]
- },
- {
- "id": "sockets",
- "type": "object",
- "description": "The <code>sockets</code> manifest property declares which sockets operations an app can issue.",
- "properties": {
- "udp": {
- "description": "The <code>udp</code> manifest property declares which sockets.udp operations an app can issue.",
- "optional": true,
- "type": "object",
- "properties": {
- "bind": {
- "description": "<p>The host:port pattern for <code>bind</code> operations.</p>",
- "optional": true,
- "$ref": "SocketHostPatterns"
- },
- "send": {
- "description": "<p>The host:port pattern for <code>send</code> operations.</p>",
- "optional": true,
- "$ref": "SocketHostPatterns"
- },
- "multicastMembership": {
- "description": "<p>The host:port pattern for <code>joinGroup</code> operations.</p>",
- "optional": true,
- "$ref": "SocketHostPatterns"
- }
- }
- },
- "tcp": {
- "description": "The <code>tcp</code> manifest property declares which sockets.tcp operations an app can issue.",
- "optional": true,
- "type": "object",
- "properties": {
- "connect": {
- "description": "<p>The host:port pattern for <code>connect</code> operations.</p>",
- "optional": true,
- "$ref": "SocketHostPatterns"
- }
- }
- },
- "tcpServer": {
- "description": "The <code>tcpServer</code> manifest property declares which sockets.tcpServer operations an app can issue.",
- "optional": true,
- "type": "object",
- "properties": {
- "listen": {
- "description": "<p>The host:port pattern for <code>listen</code> operations.</p>",
- "optional": true,
- "$ref": "SocketHostPatterns"
- }
- }
- }
- }
- },
- {
"id": "bluetooth",
"type": "object",
"description": "The <code>bluetooth</code> manifest property give permission to an app to use the $(ref:bluetooth) API. A list of UUIDs can be optionally specified to enable communication with devices.",
« no previous file with comments | « chrome/common/extensions/api/_api_features.json ('k') | chrome/common/extensions/api/sockets/sockets_manifest_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698