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

Side by Side 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: cleanup;rebase 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace":"webstorePrivate", 7 "namespace":"webstorePrivate",
8 "description": "none", 8 "description": "none",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 { 226 {
227 "name": "result", 227 "name": "result",
228 "$ref": "Result", 228 "$ref": "Result",
229 "description": "A string result code, which will be empty upon s uccess. The possible values in the case of errors include 'unknown_error', 'user _cancelled', 'manifest_error', 'icon_error', 'invalid_id', and 'invalid_icon_url '." 229 "description": "A string result code, which will be empty upon s uccess. The possible values in the case of errors include 'unknown_error', 'user _cancelled', 'manifest_error', 'icon_error', 'invalid_id', and 'invalid_icon_url '."
230 } 230 }
231 ] 231 ]
232 } 232 }
233 ] 233 ]
234 }, 234 },
235 { 235 {
236 "name": "installBundle",
237 "description": "Initiates the install process for the given bundle of ex tensions.",
238 "parameters": [
239 {
240 "name": "details",
241 "type": "object",
242 "properties": {
243 "id": {
244 "type": "string",
245 "description": "The id of the bundle to be installed.",
246 "minLength": 32,
247 "maxLength": 32
248 },
249 "localizedName": {
250 "type": "string",
251 "description": "A title to use for display in a confirmation dia log."
252 },
253 "iconUrl": {
254 "type": "string",
255 "optional": true,
256 "desciption": "A URL for the image to display in the confirmatio n dialog"
257 },
258 "iconData": {
259 "type": "string",
260 "optional": true,
261 "description": "An icon as a base64-encoded image, displayed in a confirmation dialog."
262 },
263 "authuser": {
264 "type": "string",
265 "optional": true,
266 "description": "The authuser index to be included with CRX downl oad requests in multi-login sessions."
267 }
268 },
269 "additionalProperties": { "type": "any" }
270 },
271 {
272 "name": "contents",
273 "description": "An array of extension details to be installed.",
274 "type": "array",
275 "items": {
276 "type": "object",
277 "properties": {
278 "id": {
279 "type": "string",
280 "description": "The id of the extension to be installed.",
281 "minLength": 32,
282 "maxLength": 32
283 },
284 "manifest": {
285 "type": "string",
286 "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.",
287 "minLength": 1
288 },
289 "iconUrl": {
290 "type": "string",
291 "optional": true,
292 "desciption": "A URL for the image to display in the confirmat ion dialog"
293 },
294 "iconData": {
295 "type": "string",
296 "optional": true,
297 "description": "An icon as a base64-encoded image, displayed i n a confirmation dialog."
298 },
299 "localizedName": {
300 "type": "string",
301 "description": "A string to use instead of the raw value of th e 'name' key from manifest.json."
302 }
303 }
304 }
305 },
306 {
307 "name": "callback",
308 "type": "function",
309 "description": "Called when the install process completes. Upon fail ures, chrome.runtime.lastError will be set to 'Invalid id', 'User cancelled inst all', or 'Unknown error'.",
310 "optional": true,
311 "parameters": []
312 }
313 ]
314 },
315 {
236 "name": "enableAppLauncher", 316 "name": "enableAppLauncher",
237 "description": "", 317 "description": "",
238 "parameters": [ 318 "parameters": [
239 { 319 {
240 "name": "callback", 320 "name": "callback",
241 "type": "function", 321 "type": "function",
242 "optional": true, 322 "optional": true,
243 "parameters": [] 323 "parameters": []
244 } 324 }
245 ] 325 ]
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 "$ref": "Result", 450 "$ref": "Result",
371 "description": "Whether an attempt to launch an app succeeded, o r the reason for failure." 451 "description": "Whether an attempt to launch an app succeeded, o r the reason for failure."
372 } 452 }
373 ] 453 ]
374 } 454 }
375 ] 455 ]
376 } 456 }
377 ] 457 ]
378 } 458 }
379 ] 459 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698