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

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

Issue 9414013: Add a webstore API for installing bundles of extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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/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": [

Powered by Google App Engine
This is Rietveld 408576698