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

Side by Side Diff: chrome/common/extensions/api/webSocketProxyPrivate.json

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 8 years, 7 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "webSocketProxyPrivate",
8 "nodoc": true,
9 "types": [],
10 "functions": [
11 {
12 "name": "getPassportForTCP",
13 "description": "requests authorization token for websocket to TCP proxy. ",
14 "parameters": [
15 {
16 "type": "string",
17 "name": "hostname",
18 "minLength": 1,
19 "description": "hostname to which TCP connection is requested."
20 },
21 {
22 "type": "integer",
23 "name": "port",
24 "minimum": 1,
25 "maximum": 65535,
26 "description": "TCP port number."
27 },
28 {
29 "type": "function",
30 "name": "callback",
31 "parameters": [
32 {
33 "type": "string",
34 "name": "passport",
35 "description": "Passport for passing to proxy."
36 }
37 ]
38 }
39 ]
40 },
41 {
42 "name": "getURLForTCP",
43 "description": "requests specific websocket URL that can be used as TCP proxy.",
44 "parameters": [
45 {
46 "type": "string",
47 "name": "hostname",
48 "minLength": 1,
49 "description": "hostname to which TCP connection is requested."
50 },
51 {
52 "type": "integer",
53 "name": "port",
54 "minimum": 1,
55 "maximum": 65535,
56 "description": "TCP port number."
57 },
58 {
59 "type": "object",
60 "name": "details",
61 "description": "Dictionary which contains requested parameters of co nnection",
62 "properties": {
63 "tls": {"type": "boolean", "optional": "true", "description": "whe ther TLS over TCP is requested"}
64 }
65 },
66 {
67 "type": "function",
68 "name": "callback",
69 "parameters": [
70 {
71 "type": "string",
72 "name": "url",
73 "description": "URL for opening as WebSocket."
74 }
75 ]
76 }
77 ]
78 }
79 ],
80 "events": []
81 }
82 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/webRequest.json ('k') | chrome/common/extensions/api/web_navigation.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698