Index: chrome/common/extensions/api/webstore_private.json |
diff --git a/chrome/common/extensions/api/webstore_private.json b/chrome/common/extensions/api/webstore_private.json |
index 09b726cdc4de7354a806c59735c6233a4f55f526..43ccdd454e66e3a689b1dd1150edfcae1e8bc48e 100644 |
--- a/chrome/common/extensions/api/webstore_private.json |
+++ b/chrome/common/extensions/api/webstore_private.json |
@@ -233,6 +233,70 @@ |
] |
}, |
{ |
+ "name": "installBundle", |
+ "description": "Initiates the install process for the given bundle of extensions.", |
+ "parameters": [ |
+ { |
+ "name": "details", |
+ "type": "object", |
+ "properties": { |
+ "localizedName": { |
+ "type": "string", |
+ "description": "A title to use for display in a confirmation dialog." |
+ }, |
+ "iconUrl": { |
+ "type": "string", |
+ "optional": true, |
+ "desciption": "A URL for the image to display in the confirmation dialog" |
+ }, |
+ "authuser": { |
+ "type": "string", |
+ "optional": true, |
+ "description": "The authuser index to be included with CRX download requests in multi-login sessions." |
+ } |
+ }, |
+ "additionalProperties": { "type": "any" } |
+ }, |
+ { |
+ "name": "contents", |
+ "description": "An array of extension details to be installed.", |
+ "type": "array", |
+ "items": { |
+ "type": "object", |
+ "properties": { |
+ "id": { |
+ "type": "string", |
+ "description": "The id of the extension to be installed.", |
+ "minLength": 32, |
+ "maxLength": 32 |
+ }, |
+ "manifest": { |
+ "type": "string", |
+ "description": "A string with the contents of the extension's manifest.json file. During the install process, the browser will check that the downloaded extension's manifest matches what was passed in here.", |
+ "minLength": 1 |
+ }, |
+ "iconUrl": { |
+ "type": "string", |
+ "optional": true, |
+ "desciption": "A URL for the image to display in the confirmation dialog" |
+ }, |
+ "localizedName": { |
+ "type": "string", |
+ "description": "A string to use instead of the raw value of the 'name' key from manifest.json." |
+ } |
+ } |
+ } |
+ }, |
+ { |
+ "name": "callback", |
+ "type": "function", |
+ "description": "Called when the install process completes. Upon failures, chrome.runtime.lastError will be set to 'Invalid id', 'User cancelled install', or 'Unknown error'.", |
+ "optional": true, |
+ "parameters": [] |
+ } |
+ ] |
+ }, |
+ { |
"name": "enableAppLauncher", |
"description": "", |
"parameters": [ |