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": "permissions", | 7 "namespace": "permissions", |
8 "description": "Use the <code>chrome.permissions</code> API to request <a hr
ef='permissions#manifest'>declared optional permissions</a> at run time rather t
han install time, so users understand why the permissions are needed and grant o
nly those that are necessary.", | 8 "description": "Use the <code>chrome.permissions</code> API to request <a hr
ef='permissions#manifest'>declared optional permissions</a> at run time rather t
han install time, so users understand why the permissions are needed and grant o
nly those that are necessary.", |
| 9 "compiler_options": {"use_movable_types": true}, |
9 "types": [ | 10 "types": [ |
10 { | 11 { |
11 "id": "Permissions", | 12 "id": "Permissions", |
12 "type": "object", | 13 "type": "object", |
13 "properties": { | 14 "properties": { |
14 "permissions": { | 15 "permissions": { |
15 "type": "array", | 16 "type": "array", |
16 "items": {"type": "string"}, | 17 "items": {"type": "string"}, |
17 "optional": true, | 18 "optional": true, |
18 "description": "List of named permissions (does not include hosts or
origins). Anything listed here must appear in the <code>optional_permissions</
code> list in the manifest." | 19 "description": "List of named permissions (does not include hosts or
origins). Anything listed here must appear in the <code>optional_permissions</
code> list in the manifest." |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "type": "boolean", | 136 "type": "boolean", |
136 "description": "True if the permissions were removed." | 137 "description": "True if the permissions were removed." |
137 } | 138 } |
138 ] | 139 ] |
139 } | 140 } |
140 ] | 141 ] |
141 } | 142 } |
142 ] | 143 ] |
143 } | 144 } |
144 ] | 145 ] |
OLD | NEW |