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

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, 9 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 7eb2bfeaab86d65438ab3ea5ca6c5d2abca0c337..676b1d62bc11f43a584afb86bc2e88a787ca5980 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -4645,6 +4645,33 @@
]
},
{
+ "namespace": "webProxyPrivate",
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "getToken",
+ "type": "function",
+ "description": "requests authorization token for websocket to TCP proxy.",
+ "parameters": [
+ {
+ "name": "hostname",
+ "type": "string",
+ "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