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

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: removed changes to rand_util_unittest 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5222 matching lines...) Expand 10 before | Expand all | Expand 10 after
5233 "token": { "type": "string", "optional": true } 5233 "token": { "type": "string", "optional": true }
5234 } 5234 }
5235 } 5235 }
5236 ] 5236 ]
5237 } 5237 }
5238 ] 5238 ]
5239 } 5239 }
5240 ] 5240 ]
5241 }, 5241 },
5242 { 5242 {
5243 "namespace": "webSocketProxyPrivate",
5244 "nodoc": true,
5245 "types": [],
5246 "functions": [
5247 {
5248 "name": "getPassportForTCP",
5249 "description": "requests authorization token for websocket to TCP proxy. ",
5250 "parameters": [
5251 {
5252 "type": "string",
5253 "name": "hostname",
5254 "minLength": 1,
5255 "description": "hostname to which TCP connection is requested."
5256 },
5257 {
5258 "type": "integer",
5259 "name": "port",
5260 "minimum": 1,
5261 "maximum": 65535,
5262 "description": "TCP port number."
5263 },
5264 {
5265 "type": "function",
5266 "name": "callback",
5267 "parameters": [
5268 {
5269 "type": "string",
5270 "name": "passport",
5271 "description": "Passport for passing to proxy."
5272 }
5273 ]
5274 }
5275 ]
5276 }
5277 ],
5278 "events": []
5279 },
5280 {
5243 "namespace": "experimental.extension", 5281 "namespace": "experimental.extension",
5244 "types": [ 5282 "types": [
5245 { 5283 {
5246 "id": "Preference", 5284 "id": "Preference",
5247 "type": "object", 5285 "type": "object",
5248 "customBindings": "Preference", 5286 "customBindings": "Preference",
5249 "description": "An object which allows access to a preference.", 5287 "description": "An object which allows access to a preference.",
5250 "functions": [ 5288 "functions": [
5251 { 5289 {
5252 "name": "get", 5290 "name": "get",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
5519 { 5557 {
5520 "type": "integer", 5558 "type": "integer",
5521 "name": "tabId", 5559 "name": "tabId",
5522 "description": "The id of the tab that was detached." 5560 "description": "The id of the tab that was detached."
5523 } 5561 }
5524 ] 5562 ]
5525 } 5563 }
5526 ] 5564 ]
5527 } 5565 }
5528 ] 5566 ]
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698