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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 6683060: Private API for extensions like ssh-client that need access to TCP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: c Created 9 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 side-by-side diff with in-line comments
Download patch
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": [
{

Powered by Google App Engine
This is Rietveld 408576698