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

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

Issue 14494013: Allow API functions and events to have entries in _api_features.json (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bug in searching for unprivileged Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/extension_api_unittest.cc ('k') | chrome/common/extensions/api/test.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/runtime.json
diff --git a/chrome/common/extensions/api/runtime.json b/chrome/common/extensions/api/runtime.json
index e0209e7355402cfd37e42fd0266126cfdedc8580..1e439bfd638a886644c68cad647ade78b771afc9 100644
--- a/chrome/common/extensions/api/runtime.json
+++ b/chrome/common/extensions/api/runtime.json
@@ -42,7 +42,6 @@
"type": "object",
"optional": true,
"description": "This will be defined during an API method callback if there was an error",
- "unprivileged": true,
"properties": {
"message": {
"optional": true,
@@ -53,8 +52,7 @@
},
"id": {
"type": "string",
- "description": "The ID of the extension/app.",
- "unprivileged": true
+ "description": "The ID of the extension/app."
}
},
"functions": [
@@ -86,7 +84,6 @@
"description": "Returns details about the app or extension from the manifest. The object returned is a serialization of the full <a href=\"manifest.html\">manifest file</a>.",
"type": "function",
"nocompile": true,
- "unprivileged": true,
"parameters": [],
"returns": {
"type": "object",
@@ -99,7 +96,6 @@
"name": "getURL",
"type": "function",
"nocompile": true,
- "unprivileged": true,
"description": "Converts a relative path within an app/extension install directory to a fully-qualified URL.",
"parameters": [
{
@@ -118,13 +114,11 @@
"description": "Reloads the app or extension.",
"type": "function",
"nocompile": true,
- "unprivileged": true,
"parameters": []
},
{
"name": "requestUpdateCheck",
"type": "function",
- "unprivileged": true,
"description": "Requests an update check for this app/extension.",
"parameters": [
{
@@ -157,7 +151,6 @@
"name": "connect",
"type": "function",
"nocompile": true,
- "unprivileged": true,
"description": "Attempts to connect to other listeners within the extension/app (such as the background page), or other extensions/apps. This is useful for content scripts connecting to their extension processes. Note that this does not connect to any listeners in a content script. Extensions may connect to content scripts embedded in tabs via $ref:tabs.connect.",
"parameters": [
{"type": "string", "name": "extensionId", "optional": true, "description": "The ID of the extension/app you want to connect to. If omitted, default is your own extension."},
@@ -197,7 +190,6 @@
"type": "function",
"nocompile": true,
"allowAmbiguousOptionalArguments": true,
- "unprivileged": true,
"description": "Sends a single message to onMessage event listeners within the extension (or another extension/app). Similar to chrome.runtime.connect, but only sends a single message with an optional response. The $ref:runtime.onMessage event is fired in each extension page of the extension. Note that extensions cannot send messages to content scripts using this method. To send messages to content scripts, use $ref:tabs.sendMessage.",
"parameters": [
{"type": "string", "name": "extensionId", "optional": true, "description": "The extension ID of the extension you want to connect to. If omitted, default is your own extension."},
@@ -356,7 +348,6 @@
"name": "onConnect",
"type": "function",
"nocompile": true,
- "unprivileged": true,
"anonymous": true,
"description": "Fired when a connection is made from either an extension process or a content script.",
"parameters": [
@@ -377,7 +368,6 @@
"name": "onMessage",
"type": "function",
"anonymous": true,
- "unprivileged": true,
"description": "Fired when a message is sent from either an extension process or a content script.",
"parameters": [
{"name": "message", "type": "any", "description": "The message sent by the calling script."},
« no previous file with comments | « chrome/common/extensions/api/extension_api_unittest.cc ('k') | chrome/common/extensions/api/test.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698