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

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: m Created 9 years, 8 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 936792791180a806d71573915513b48c4f76b47c..0f30a5f392636b88c68004007775b5df41207eaf 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -4683,6 +4683,34 @@
]
},
{
+ "namespace": "webproxyPrivate",
Aaron Boodman 2011/04/07 03:17:01 I just realized this: we already have a 'proxy' AP
Denis Lagno 2011/05/13 22:02:53 I've renamed to webSocketProxyPrivate.getPassportF
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "getToken",
+ "type": "function",
+ "description": "requests authorization token for websocket to TCP proxy.",
+ "parameters": [
+ {
+ "name": "hostname",
+ "type": "string",
+ "minLength": 1,
+ "description": "hostname to which TCP connection is requested."
+ },
+ {
+ "name": "port",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 65535,
+ "description": "TCP port number."
+ }
+ ]
+ }
+ ],
+ "events": []
+ },
+ {
"namespace": "experimental.extension",
"types": [
{

Powered by Google App Engine
This is Rietveld 408576698