Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5472)

Unified Diff: chrome/common/extensions/api/webstore_private.json

Issue 855513002: Add/resurrect support for bundles of WebStore items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testext_bundle
Patch Set: remove icon_data Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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": [

Powered by Google App Engine
This is Rietveld 408576698