OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // The type schemas for structured manifest items. Not actually a callable API. | 5 // The type schemas for structured manifest items. Not actually a callable API. |
6 | 6 |
7 [ | 7 [ |
8 { | 8 { |
9 "namespace": "manifestTypes", | 9 "namespace": "manifestTypes", |
10 "description": "Schemas for structured manifest entries", | 10 "description": "Schemas for structured manifest entries", |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 "type": "object", | 199 "type": "object", |
200 "properties": { | 200 "properties": { |
201 "listen": { | 201 "listen": { |
202 "description": "<p>The host:port pattern for <code>listen</code>
operations.</p>", | 202 "description": "<p>The host:port pattern for <code>listen</code>
operations.</p>", |
203 "optional": true, | 203 "optional": true, |
204 "$ref": "SocketHostPatterns" | 204 "$ref": "SocketHostPatterns" |
205 } | 205 } |
206 } | 206 } |
207 } | 207 } |
208 } | 208 } |
| 209 }, |
| 210 { |
| 211 "id": "bluetooth", |
| 212 "type": "object", |
| 213 "description": "The <code>bluetooth</code> manifest property give permis
sion to an app to use the $ref:bluetooth API. A list of profile IDs can be optio
nally specified to enable communication with specific device types", |
| 214 "properties": { |
| 215 "profiles": { |
| 216 "description": "The <code>profiles</code> manifest property declares
the list of profiles an app can register.", |
| 217 "optional": true, |
| 218 "type": "array", |
| 219 "items": { |
| 220 "description": "<p>The list of profiles specified as UUID strings.
</p>", |
| 221 "type": "string" |
| 222 } |
| 223 } |
| 224 } |
209 } | 225 } |
210 ] | 226 ] |
211 } | 227 } |
212 ] | 228 ] |
OLD | NEW |