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

Side by Side Diff: extensions/common/api/manifest_types.json

Issue 217263002: Move sockets manifest types to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « extensions/common/api/api.gyp ('k') | extensions/common/api/sockets/sockets_manifest_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
not at google - send to devlin 2014/03/28 18:27:37 can you make this file look like a copy of the oth
Ken Rockot(use gerrit already) 2014/03/28 19:48:21 Done.
3 // found in the LICENSE file.
4
5 // The type schemas for structured manifest items. Not actually a callable API.
6
7 [
8 {
9 "namespace": "manifestTypes",
10 "description": "Schemas for structured manifest entries",
11 "compiler_options": {
12 "generate_error_messages": true
13 },
14 "types": [
15 {
16 "id": "SocketHostPatterns",
17 "description": "<p>A single string or a list of strings representing hos t:port patterns.</p>",
18 "choices": [
19 { "type": "string" },
20 { "type": "array", "items": { "type": "string" } }
21 ]
22 },
23 {
24 "id": "sockets",
25 "type": "object",
26 "description": "The <code>sockets</code> manifest property declares whic h sockets operations an app can issue.",
27 "properties": {
28 "udp": {
29 "description": "The <code>udp</code> manifest property declares whic h sockets.udp operations an app can issue.",
30 "optional": true,
31 "type": "object",
32 "properties": {
33 "bind": {
34 "description": "<p>The host:port pattern for <code>bind</code> o perations.</p>",
35 "optional": true,
36 "$ref": "SocketHostPatterns"
37 },
38 "send": {
39 "description": "<p>The host:port pattern for <code>send</code> o perations.</p>",
40 "optional": true,
41 "$ref": "SocketHostPatterns"
42 },
43 "multicastMembership": {
44 "description": "<p>The host:port pattern for <code>joinGroup</co de> operations.</p>",
45 "optional": true,
46 "$ref": "SocketHostPatterns"
47 }
48 }
49 },
50 "tcp": {
51 "description": "The <code>tcp</code> manifest property declares whic h sockets.tcp operations an app can issue.",
52 "optional": true,
53 "type": "object",
54 "properties": {
55 "connect": {
56 "description": "<p>The host:port pattern for <code>connect</code > operations.</p>",
57 "optional": true,
58 "$ref": "SocketHostPatterns"
59 }
60 }
61 },
62 "tcpServer": {
63 "description": "The <code>tcpServer</code> manifest property declare s which sockets.tcpServer operations an app can issue.",
64 "optional": true,
65 "type": "object",
66 "properties": {
67 "listen": {
68 "description": "<p>The host:port pattern for <code>listen</code> operations.</p>",
69 "optional": true,
70 "$ref": "SocketHostPatterns"
71 }
72 }
73 }
74 }
75 }
76 ]
77 }
78 ]
OLDNEW
« no previous file with comments | « extensions/common/api/api.gyp ('k') | extensions/common/api/sockets/sockets_manifest_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698