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 2ac2c7b35be620e551ccc9259458c848cb892d16..83795a2fa24cd81de24f86cc8cdfc106198054cd 100644 |
--- a/chrome/common/extensions/api/webstore_private.json |
+++ b/chrome/common/extensions/api/webstore_private.json |
@@ -116,6 +116,61 @@ |
] |
}, |
{ |
+ "name": "showPermissionPromptForDelegatedInstall", |
+ "description": "Shows a permission prompt for the given extension, for installing to a different account.", |
+ "parameters": [ |
+ { |
+ "name": "details", |
+ "type": "object", |
+ "properties": { |
+ "id": { |
+ "type": "string", |
+ "description": "The id of the extension to be installled.", |
+ "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 |
+ }, |
+ "delegatedUser": { |
+ "type": "string", |
+ "description": "The display name of the user for whom the extension should be installed." |
+ }, |
+ "iconUrl": { |
+ "type": "string", |
+ "optional": true, |
+ "desciption": "A URL for the image to display in the confirmation dialog" |
+ }, |
+ "iconData": { |
+ "type": "string", |
+ "optional": true, |
+ "description": "An icon as a base64-encoded image, displayed in a confirmation dialog." |
+ }, |
+ "localizedName": { |
+ "type": "string", |
+ "optional": true, |
+ "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 user has either accepted/rejected the dialog, or some error occurred (such as invalid manifest or icon image data).", |
+ "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', 'manifest_error', 'icon_error', 'invalid_id', and 'invalid_icon_url'." |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
"name": "enableAppLauncher", |
"description": "", |
"parameters": [ |