1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 "namespace":"dashboardPrivate",
15 "description": "Empty string, used to indicate success by showPermissionPromptForDelegatedInstall"
18 "description": "Used to indicate success by showPermissionPromptForDelegatedBundleInstall"
20 "name": "unknown_error",
21 "description": "An unknown error occured"
23 "name": "user_cancelled",
24 "description": "The user canceled the operation"
27 "description": "An invalid Chrome Web Store item ID was provided"
29 "name": "manifest_error",
30 "description": "Parsing of the extension manifest failed"
33 "description": "Failed to retrieve the extension's icon from the Web Store, or the icon was invalid"
35 "name": "invalid_icon_url",
36 "description": "An invalid icon URL was provided"
38 "description": "Whether the API call succeeded, or the reason for failure."
43 "name": "showPermissionPromptForDelegatedInstall",
44 "description": "Shows a permission prompt for the given extension, for installing to a different account.",
52 "description": "The id of the extension to be installled.",
58 "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.",
63 "description": "The display name of the user for whom the extension should be installed."
68 "desciption": "A URL for the image to display in the confirmation dialog"
73 "description": "An icon as a base64-encoded image, displayed in a confirmation dialog."
78 "description": "A string to use instead of the raw value of the 'name' key from manifest.json."
85 "description": "Called when the user has either accepted/rejected the dialog, or some error occurred (such as invalid manifest or icon image data).",
91 "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'."
98 "name": "showPermissionPromptForDelegatedBundleInstall",
99 "description": "Shows a permission prompt for the given bundle, for installing to a different account.",
107 "description": "A title to use for display in a confirmation dialog."
111 "description": "The display name of the user for whom the extension should be installed."
116 "desciption": "A URL for the image to display in the confirmation dialog"
119 "additionalProperties": { "type": "any" }
123 "description": "An array of extension details to be installed.",
130 "description": "The id of the extension to be installed.",
136 "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.",
142 "desciption": "A URL for the image to display in the confirmation dialog"
146 "description": "A string to use instead of the raw value of the 'name' key from manifest.json."
154 "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'.",