OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace":"webstorePrivate", | 3 "namespace":"webstorePrivate", |
4 "nodoc": "true", | 4 "nodoc": "true", |
5 "functions": [ | 5 "functions": [ |
6 { | 6 { |
7 "name": "install", | 7 "name": "install", |
8 "description": "Installs the extension corresponding to the given id", | 8 "description": "Installs the extension corresponding to the given id", |
9 "parameters": [ | 9 "parameters": [ |
10 { | 10 { |
11 "name": "expected_id", | 11 "name": "expected_id", |
12 "type": "string", | 12 "type": "string", |
13 "description": "The id of the extension to install." | 13 "description": "The id of the extension to install." |
14 }, | 14 }, |
15 { | 15 { |
16 "name": "callback", | 16 "name": "callback", |
17 "type": "function", | 17 "type": "function", |
18 "optional": "true", | 18 "optional": "true", |
19 "parameters": [] | 19 "parameters": [] |
20 } | 20 } |
21 ] | 21 ] |
22 }, | 22 }, |
23 { | 23 { |
| 24 "name": "installBundle", |
| 25 "description": "Initiates the install process for the given bundle of ex
tensions.", |
| 26 "parameters": [ |
| 27 { |
| 28 "name": "details", |
| 29 "description": "An array of extension details to be installed.", |
| 30 "type": "array", |
| 31 "items": { |
| 32 "type": "object", |
| 33 "properties": { |
| 34 "id": { |
| 35 "type": "string", |
| 36 "description": "The id of the extension to be installed.", |
| 37 "minLength": 32, |
| 38 "maxLength": 32 |
| 39 }, |
| 40 "manifest": { |
| 41 "type": "string", |
| 42 "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.", |
| 43 "minLength": 1 |
| 44 }, |
| 45 "localizedName": { |
| 46 "type": "string", |
| 47 "description": "A string to use instead of the raw value of th
e 'name' key from manifest.json." |
| 48 } |
| 49 } |
| 50 } |
| 51 }, |
| 52 { |
| 53 "name": "callback", |
| 54 "type": "function", |
| 55 "description": "Called when the install process completes. Upon fail
ures, chrome.extension.lastError will be set to 'user_canceled' or 'unknown_erro
r'.", |
| 56 "optional": "true", |
| 57 "parameters": [] |
| 58 } |
| 59 ] |
| 60 }, |
| 61 { |
24 "name": "beginInstallWithManifest3", | 62 "name": "beginInstallWithManifest3", |
25 "description": "Initiates the install process for the given extension.", | 63 "description": "Initiates the install process for the given extension.", |
26 "parameters": [ | 64 "parameters": [ |
27 { | 65 { |
28 "name": "details", | 66 "name": "details", |
29 "type": "object", | 67 "type": "object", |
30 "properties": { | 68 "properties": { |
31 "id": { | 69 "id": { |
32 "type": "string", | 70 "type": "string", |
33 "description": "The id of the extension to be installled.", | 71 "description": "The id of the extension to be installled.", |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 "type": "string", | 251 "type": "string", |
214 "enum": ["webgl_allowed", "webgl_blocked"] | 252 "enum": ["webgl_allowed", "webgl_blocked"] |
215 } | 253 } |
216 ] | 254 ] |
217 } | 255 } |
218 ] | 256 ] |
219 } | 257 } |
220 ] | 258 ] |
221 } | 259 } |
222 ] | 260 ] |
OLD | NEW |