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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 5190 matching lines...) Expand 10 before | Expand all | Expand 10 after
5201 "token": { "type": "string", "optional": true } 5201 "token": { "type": "string", "optional": true }
5202 } 5202 }
5203 } 5203 }
5204 ] 5204 ]
5205 } 5205 }
5206 ] 5206 ]
5207 } 5207 }
5208 ] 5208 ]
5209 }, 5209 },
5210 { 5210 {
5211 "namespace": "webSocketProxyPrivate",
5212 "nodoc": true,
5213 "types": [],
5214 "functions": [
5215 {
5216 "name": "getPassportForTCP",
5217 "description": "requests authorization token for websocket to TCP proxy. ",
5218 "parameters": [
5219 {
5220 "type": "string",
5221 "name": "hostname",
5222 "minLength": 1,
5223 "description": "hostname to which TCP connection is requested."
5224 },
5225 {
5226 "type": "integer",
5227 "name": "port",
5228 "minimum": 1,
5229 "maximum": 65535,
5230 "description": "TCP port number."
5231 },
5232 {
5233 "type": "function",
5234 "name": "callback",
5235 "parameters": [
5236 {
5237 "type": "string",
5238 "name": "passport",
5239 "description": "Passport for passing to proxy."
5240 }
5241 ]
5242 }
5243 ]
5244 }
5245 ],
5246 "events": []
5247 },
5248 {
5211 "namespace": "experimental.extension", 5249 "namespace": "experimental.extension",
5212 "types": [ 5250 "types": [
5213 { 5251 {
5214 "id": "Preference", 5252 "id": "Preference",
5215 "type": "object", 5253 "type": "object",
5216 "customBindings": "Preference", 5254 "customBindings": "Preference",
5217 "description": "An object which allows access to a preference.", 5255 "description": "An object which allows access to a preference.",
5218 "functions": [ 5256 "functions": [
5219 { 5257 {
5220 "name": "get", 5258 "name": "get",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
5487 { 5525 {
5488 "type": "integer", 5526 "type": "integer",
5489 "name": "tabId", 5527 "name": "tabId",
5490 "description": "The id of the tab that was detached." 5528 "description": "The id of the tab that was detached."
5491 } 5529 }
5492 ] 5530 ]
5493 } 5531 }
5494 ] 5532 ]
5495 } 5533 }
5496 ] 5534 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698