diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-12 15:15:09 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-12 15:15:09 +0000 |
commit | a65882cfd89af9fc51fc34781fd9ebfc4978ea4c (patch) | |
tree | 1bc1a7484c4d286a1ce26af1076c13cd40682e20 /chrome/common/extensions/api/extension_api.json | |
parent | 96fdf3dd2d66d4c5b556df3574b324f36cafcd81 (diff) | |
download | chromium_src-a65882cfd89af9fc51fc34781fd9ebfc4978ea4c.zip chromium_src-a65882cfd89af9fc51fc34781fd9ebfc4978ea4c.tar.gz chromium_src-a65882cfd89af9fc51fc34781fd9ebfc4978ea4c.tar.bz2 |
Allow an extension to dynamically set extra data in its update URL, in order
to communicate dynamic information to its update server if needed.
BUG=none
TEST=Make sure that existing extensions that do no set any extra data are
not adversely affected.
Review URL: http://codereview.chromium.org/4725002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/extension_api.json')
-rw-r--r-- | chrome/common/extensions/api/extension_api.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json index 68c9af0..ebc43a0f 100644 --- a/chrome/common/extensions/api/extension_api.json +++ b/chrome/common/extensions/api/extension_api.json @@ -188,6 +188,14 @@ "description": "Array of global window objects", "items": { "type": "object", "isInstanceOf": "DOMWindow", "properties": {}, "additionalProperties": { "type": "any" } } } + }, + { + "name": "setUpdateUrlData", + "type": "function", + "description": "Sets the value of the ap CGI parameter used in the extension's update URL. This value is ignored for extensions that are hosted in the Chrome Extension Gallery.", + "parameters": [ + {"type": "string", "name": "data", "maxLength": 1024} + ] } ], "events": [ |