OLD | NEW |
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":"management", | 7 "namespace":"management", |
8 "types": [ | 8 "types": [ |
9 { | 9 { |
10 "id": "IconInfo", | 10 "id": "IconInfo", |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } | 93 } |
94 }, | 94 }, |
95 "hostPermissions": { | 95 "hostPermissions": { |
96 "description": "Returns a list of host based permissions.", | 96 "description": "Returns a list of host based permissions.", |
97 "type": "array", | 97 "type": "array", |
98 "items" : { | 98 "items" : { |
99 "type": "string" | 99 "type": "string" |
100 } | 100 } |
101 }, | 101 }, |
102 "installType": { | 102 "installType": { |
103 "description": "How the extension was installed (\"admin\", \"develo
pment\", \"normal\", \"sideload\", \"other\"). \"admin\" means the extension was
installed because of an administrative policy. \"development\" means the extens
ion was loaded unpacked in developer mode. \"normal\" means the extension was in
stalled normally via a .crx file. \"sideload\" means the extension was installed
by other software on the machine. \"other\" means the extension was installed b
y other means.", | 103 "description": "How the extension was installed. One of<br><var>admi
n</var>: The extension was installed because of an administrative policy,<br><va
r>development</var>: The extension was loaded unpacked in developer mode,<br><va
r>normal</var>: The extension was installed normally via a .crx file,<br><var>si
deload</var>: The extension was installed by other software on the machine,<br><
var>other</var>: The extension was installed by other means.", |
104 "type": "string" | 104 "type": "string", |
| 105 "enum": ["admin", "development", "normal", "sideload", "other"] |
105 } | 106 } |
106 } | 107 } |
107 } | 108 } |
108 ], | 109 ], |
109 "functions": [ | 110 "functions": [ |
110 { | 111 { |
111 "name": "getAll", | 112 "name": "getAll", |
112 "description": "Returns a list of information about installed extensions
and apps.", | 113 "description": "Returns a list of information about installed extensions
and apps.", |
113 "parameters": [ | 114 "parameters": [ |
114 { | 115 { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 }, | 291 }, |
291 { | 292 { |
292 "name": "onDisabled", | 293 "name": "onDisabled", |
293 "description": "Fired when an app or extension has been disabled", | 294 "description": "Fired when an app or extension has been disabled", |
294 "type": "function", | 295 "type": "function", |
295 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] | 296 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] |
296 } | 297 } |
297 ] | 298 ] |
298 } | 299 } |
299 ] | 300 ] |
OLD | NEW |