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

Unified Diff: chrome/common/extensions/api/extension.json

Issue 10990064: Revert 156678 - Native messaging now uses the MessageService back-end. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension.json
diff --git a/chrome/common/extensions/api/extension.json b/chrome/common/extensions/api/extension.json
index f26107e83e71c915d767bdeb747b7542c6017753..9efc4961a2e50b473408adf7be0ce8e3dddbe6a3 100644
--- a/chrome/common/extensions/api/extension.json
+++ b/chrome/common/extensions/api/extension.json
@@ -75,31 +75,6 @@
}
},
{
- "name": "connectNative",
- "nodoc": true,
- "type": "function",
- "description": "Attempts to connect a native application in the host machine. The native application must have already registered itself in the proper directory.",
- "parameters": [
- {
- "type": "string",
- "name": "appName",
- "description": "The name of the registered app to connect to."
- },
- {
- "name": "connectionMessage",
- "description": "The object that will be passed to the registered native app on connection.",
- "type": "object",
- "additionalProperties": {
- "type": "any"
- }
- }
- ],
- "returns": {
- "$ref": "Port",
- "description": "Port through which messages can be sent and received with the application"
- }
- },
- {
"name": "sendRequest",
"nodoc": true,
"type": "function",
@@ -147,43 +122,6 @@
]
},
{
- "name": "sendNativeMessage",
- "nodoc": true,
- "type": "function",
- "description": "Send a single message to a registered native application.",
- "parameters": [
- {
- "name": "registeredNativeApp",
- "description": "The name of the registered native application.",
- "type": "string"
- },
- {
- "name": "message",
- "description": "The message that will be passed to the registered native application.",
- "type": "object",
- "additionalProperties": {
- "type": "any"
- }
- },
- {
- "type": "function",
- "name": "callback",
- "optional": true,
- "description": "Called with the response from the native application.",
- "parameters": [
- {
- "name": "nativeResponse",
- "type": "object",
- "description": "Whatever the native application responds with.",
- "additionalProperties": {
- "type": "any"
- }
- }
- ]
- }
- ]
- },
- {
"name": "getURL",
"type": "function",
"unprivileged": true,
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698