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

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: 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 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 4665 matching lines...) Expand 10 before | Expand all | Expand 10 after
4676 "token": { "type": "string", "optional": true } 4676 "token": { "type": "string", "optional": true }
4677 } 4677 }
4678 } 4678 }
4679 ] 4679 ]
4680 } 4680 }
4681 ] 4681 ]
4682 } 4682 }
4683 ] 4683 ]
4684 }, 4684 },
4685 { 4685 {
4686 "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
4687 "nodoc": true,
4688 "types": [],
4689 "functions": [
4690 {
4691 "name": "getToken",
4692 "type": "function",
4693 "description": "requests authorization token for websocket to TCP proxy. ",
4694 "parameters": [
4695 {
4696 "name": "hostname",
4697 "type": "string",
4698 "minLength": 1,
4699 "description": "hostname to which TCP connection is requested."
4700 },
4701 {
4702 "name": "port",
4703 "type": "integer",
4704 "minimum": 1,
4705 "maximum": 65535,
4706 "description": "TCP port number."
4707 }
4708 ]
4709 }
4710 ],
4711 "events": []
4712 },
4713 {
4686 "namespace": "experimental.extension", 4714 "namespace": "experimental.extension",
4687 "types": [ 4715 "types": [
4688 { 4716 {
4689 "id": "Preference", 4717 "id": "Preference",
4690 "type": "object", 4718 "type": "object",
4691 "customBindings": "Preference", 4719 "customBindings": "Preference",
4692 "description": "An object which allows access to a preference.", 4720 "description": "An object which allows access to a preference.",
4693 "functions": [ 4721 "functions": [
4694 { 4722 {
4695 "name": "get", 4723 "name": "get",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
4962 { 4990 {
4963 "type": "integer", 4991 "type": "integer",
4964 "name": "tabId", 4992 "name": "tabId",
4965 "description": "The id of the tab that was detached." 4993 "description": "The id of the tab that was detached."
4966 } 4994 }
4967 ] 4995 ]
4968 } 4996 }
4969 ] 4997 ]
4970 } 4998 }
4971 ] 4999 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698