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

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

Issue 21115004: extensions: Remove chrome.webSocketProxyPrivate API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 "description": "none",
9 "functions": [
10 {
11 "name": "getPassportForTCP",
12 "description": "requests authorization token for websocket to TCP proxy. ",
13 "parameters": [
14 {
15 "type": "string",
16 "name": "hostname",
17 "minLength": 1,
18 "description": "hostname to which TCP connection is requested."
19 },
20 {
21 "type": "integer",
22 "name": "port",
23 "minimum": 1,
24 "maximum": 65535,
25 "description": "TCP port number."
26 },
27 {
28 "type": "function",
29 "name": "callback",
30 "parameters": [
31 {
32 "type": "string",
33 "name": "passport",
34 "description": "Passport for passing to proxy."
35 }
36 ]
37 }
38 ]
39 },
40 {
41 "name": "getURLForTCP",
42 "description": "requests specific websocket URL that can be used as TCP proxy.",
43 "parameters": [
44 {
45 "type": "string",
46 "name": "hostname",
47 "minLength": 1,
48 "description": "hostname to which TCP connection is requested."
49 },
50 {
51 "type": "integer",
52 "name": "port",
53 "minimum": 1,
54 "maximum": 65535,
55 "description": "TCP port number."
56 },
57 {
58 "type": "object",
59 "name": "details",
60 "description": "Dictionary which contains requested parameters of co nnection",
61 "properties": {
62 "tls": {"type": "boolean", "optional": "true", "description": "whe ther TLS over TCP is requested"}
63 }
64 },
65 {
66 "type": "function",
67 "name": "callback",
68 "parameters": [
69 {
70 "type": "string",
71 "name": "url",
72 "description": "URL for opening as WebSocket."
73 }
74 ]
75 }
76 ]
77 }
78 ],
79 "events": []
80 }
81 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/docs/server2/test_data/file_system/stat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698