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

Side by Side Diff: third_party/chrome/idl/web_socket_proxy_private.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « third_party/chrome/idl/web_request_internal.json ('k') | third_party/chrome/idl/webstore.json » ('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 (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 | « third_party/chrome/idl/web_request_internal.json ('k') | third_party/chrome/idl/webstore.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698