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

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: fix BitmapFetcher destruction Created 5 years, 8 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 "localizedName": {
244 "type": "string",
245 "description": "A title to use for display in a confirmation dia log."
246 },
247 "iconUrl": {
248 "type": "string",
249 "optional": true,
250 "desciption": "A URL for the image to display in the confirmatio n dialog"
251 },
252 "authuser": {
253 "type": "string",
254 "optional": true,
255 "description": "The authuser index to be included with CRX downl oad requests in multi-login sessions."
256 }
257 },
258 "additionalProperties": { "type": "any" }
259 },
260 {
261 "name": "contents",
262 "description": "An array of extension details to be installed.",
263 "type": "array",
264 "items": {
265 "type": "object",
266 "properties": {
267 "id": {
268 "type": "string",
269 "description": "The id of the extension to be installed.",
270 "minLength": 32,
271 "maxLength": 32
272 },
273 "manifest": {
274 "type": "string",
275 "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.",
276 "minLength": 1
277 },
278 "iconUrl": {
279 "type": "string",
280 "optional": true,
281 "desciption": "A URL for the image to display in the confirmat ion dialog"
282 },
283 "localizedName": {
284 "type": "string",
285 "description": "A string to use instead of the raw value of th e 'name' key from manifest.json."
286 }
287 }
288 }
289 },
290 {
291 "name": "callback",
292 "type": "function",
293 "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'.",
294 "optional": true,
295 "parameters": []
296 }
297 ]
298 },
299 {
236 "name": "enableAppLauncher", 300 "name": "enableAppLauncher",
237 "description": "", 301 "description": "",
238 "parameters": [ 302 "parameters": [
239 { 303 {
240 "name": "callback", 304 "name": "callback",
241 "type": "function", 305 "type": "function",
242 "optional": true, 306 "optional": true,
243 "parameters": [] 307 "parameters": []
244 } 308 }
245 ] 309 ]
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 "$ref": "Result", 434 "$ref": "Result",
371 "description": "Whether an attempt to launch an app succeeded, o r the reason for failure." 435 "description": "Whether an attempt to launch an app succeeded, o r the reason for failure."
372 } 436 }
373 ] 437 ]
374 } 438 }
375 ] 439 ]
376 } 440 }
377 ] 441 ]
378 } 442 }
379 ] 443 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698