| Index: chrome/common/extensions/api/extension_api.json
|
| diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
|
| index 9202df448b194fbf565dc3bf18ab287573720cda..02daaba272bb57ff4d9e2afcd7842ec6690d7c82 100644
|
| --- a/chrome/common/extensions/api/extension_api.json
|
| +++ b/chrome/common/extensions/api/extension_api.json
|
| @@ -7816,6 +7816,29 @@
|
| {
|
| "namespace":"webstorePrivate",
|
| "nodoc": "true",
|
| + "types": [
|
| + {
|
| + "id": "BundleInstallDetails",
|
| + "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."
|
| + }
|
| + }
|
| + }
|
| + ],
|
| "functions": [
|
| {
|
| "name": "install",
|
| @@ -7835,6 +7858,31 @@
|
| ]
|
| },
|
| {
|
| + "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": { "$ref": "BundleInstallDetails" }
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "description": "Called when the install process completes.",
|
| + "optional": "true",
|
| + "parameters": [
|
| + {
|
| + "name": "result",
|
| + "type": "string",
|
| + "description": "A string result code, which will be empty upon success. The possible values in the case of errors include 'unknown_error', 'user_cancelled' and 'permission_denied'."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| "name": "beginInstallWithManifest3",
|
| "description": "Initiates the install process for the given extension.",
|
| "parameters": [
|
| @@ -7895,7 +7943,6 @@
|
| ]
|
| }
|
| ]
|
| -
|
| },
|
| {
|
| "name": "completeInstall",
|
|
|