Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index cdaf051d596ee245334c8859a1341bf94819120f..ec8841307ac900fd868da0753dcc82d32364c292 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -5208,6 +5208,44 @@ |
] |
}, |
{ |
+ "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." |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ], |
+ "events": [] |
+ }, |
+ { |
"namespace": "experimental.extension", |
"types": [ |
{ |