Index: chrome/common/extensions/api/webstorePrivate.json |
diff --git a/chrome/common/extensions/api/webstorePrivate.json b/chrome/common/extensions/api/webstorePrivate.json |
index da19da681b1c20713474bb8b1e5d3ee433d739b1..1dacfff1651ab4cb8da20f2165d55583a21072ac 100644 |
--- a/chrome/common/extensions/api/webstorePrivate.json |
+++ b/chrome/common/extensions/api/webstorePrivate.json |
@@ -21,6 +21,43 @@ |
] |
}, |
{ |
+ "name": "installBundle", |
+ "description": "Initiates the install process for the given bundle of extensions.", |
+ "parameters": [ |
+ { |
+ "name": "details", |
+ "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 |
+ }, |
+ "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.extension.lastError will be set to 'user_canceled' or 'unknown_error'.", |
+ "optional": "true" |
+ } |
+ ] |
+ }, |
+ { |
"name": "beginInstallWithManifest3", |
"description": "Initiates the install process for the given extension.", |
"parameters": [ |