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

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

Issue 1268853003: Move webstorePrivate DelegatedInstall functions into new dashboardPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 5 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
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81463883873ebca0ca69c3e4ed86dab86dfd029b..a24198ee231fa62b5a3b806ca5c441083964c122 100644
--- a/chrome/common/extensions/api/webstore_private.json
+++ b/chrome/common/extensions/api/webstore_private.json
@@ -183,61 +183,6 @@
]
},
{
- "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",
- "$ref": "Result",
- "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": "installBundle",
"description": "Initiates the install process for the given bundle of extensions.",
"parameters": [
@@ -302,69 +247,6 @@
]
},
{
- "name": "showPermissionPromptForDelegatedBundleInstall",
- "description": "Shows a permission prompt for the given bundle, for installing to a different account.",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "properties": {
- "localizedName": {
- "type": "string",
- "description": "A title to use for display in a confirmation dialog."
- },
- "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"
- }
- },
- "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 bundle', 'Invalid icon url', or 'User cancelled install'.",
- "optional": true,
- "parameters": []
- }
- ]
- },
- {
"name": "enableAppLauncher",
"description": "",
"parameters": [
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698