| 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}, | |
| 10 "types": [ | 9 "types": [ |
| 11 { | 10 { |
| 12 "id": "Permissions", | 11 "id": "Permissions", |
| 13 "type": "object", | 12 "type": "object", |
| 14 "properties": { | 13 "properties": { |
| 15 "permissions": { | 14 "permissions": { |
| 16 "type": "array", | 15 "type": "array", |
| 17 "items": {"type": "string"}, | 16 "items": {"type": "string"}, |
| 18 "optional": true, | 17 "optional": true, |
| 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." | 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." |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 "type": "boolean", | 135 "type": "boolean", |
| 137 "description": "True if the permissions were removed." | 136 "description": "True if the permissions were removed." |
| 138 } | 137 } |
| 139 ] | 138 ] |
| 140 } | 139 } |
| 141 ] | 140 ] |
| 142 } | 141 } |
| 143 ] | 142 ] |
| 144 } | 143 } |
| 145 ] | 144 ] |
| OLD | NEW |