| Index: third_party/chrome/idl/web_socket_proxy_private.json
|
| diff --git a/third_party/chrome/idl/web_socket_proxy_private.json b/third_party/chrome/idl/web_socket_proxy_private.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4afa79275cdb30a42249a92df9b6fbb8860b1951
|
| --- /dev/null
|
| +++ b/third_party/chrome/idl/web_socket_proxy_private.json
|
| @@ -0,0 +1,82 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +[
|
| + {
|
| + "namespace": "webSocketProxyPrivate",
|
| + "nodoc": true,
|
| + "types": [],
|
| + "functions": [
|
| + {
|
| + "name": "getPassportForTCP",
|
| + "description": "requests authorization token for websocket to TCP proxy.",
|
| + "parameters": [
|
| + {
|
| + "type": "string",
|
| + "name": "hostname",
|
| + "minLength": 1,
|
| + "description": "hostname to which TCP connection is requested."
|
| + },
|
| + {
|
| + "type": "integer",
|
| + "name": "port",
|
| + "minimum": 1,
|
| + "maximum": 65535,
|
| + "description": "TCP port number."
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "parameters": [
|
| + {
|
| + "type": "string",
|
| + "name": "passport",
|
| + "description": "Passport for passing to proxy."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "getURLForTCP",
|
| + "description": "requests specific websocket URL that can be used as TCP proxy.",
|
| + "parameters": [
|
| + {
|
| + "type": "string",
|
| + "name": "hostname",
|
| + "minLength": 1,
|
| + "description": "hostname to which TCP connection is requested."
|
| + },
|
| + {
|
| + "type": "integer",
|
| + "name": "port",
|
| + "minimum": 1,
|
| + "maximum": 65535,
|
| + "description": "TCP port number."
|
| + },
|
| + {
|
| + "type": "object",
|
| + "name": "details",
|
| + "description": "Dictionary which contains requested parameters of connection",
|
| + "properties": {
|
| + "tls": {"type": "boolean", "optional": "true", "description": "whether TLS over TCP is requested"}
|
| + }
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "parameters": [
|
| + {
|
| + "type": "string",
|
| + "name": "url",
|
| + "description": "URL for opening as WebSocket."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| + ],
|
| + "events": []
|
| + }
|
| +]
|
|
|