Chromium Code Reviews| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 193 "type": "object", | 193 "type": "object", |
| 194 "properties": { | 194 "properties": { |
| 195 "listen": { | 195 "listen": { |
| 196 "description": "<p>The host:port pattern for <code>listen</code> operations.</p>", | 196 "description": "<p>The host:port pattern for <code>listen</code> operations.</p>", |
| 197 "optional": true, | 197 "optional": true, |
| 198 "$ref": "SocketHostPatterns" | 198 "$ref": "SocketHostPatterns" |
| 199 } | 199 } |
| 200 } | 200 } |
| 201 } | 201 } |
| 202 } | 202 } |
| 203 }, | |
| 204 { | |
| 205 "id": "bluetooth", | |
| 206 "type": "object", | |
| 207 "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", | |
| 208 "properties": { | |
| 209 "profiles": { | |
| 210 "description": "The <code>profiles</code> manifest property declares the list of profiles an app can register.", | |
| 211 "optional": true, | |
| 212 "type": "array", | |
|
not at google - send to devlin
2014/01/23 20:29:12
(FWIW it was an optional array that the JSON schem
rpaquay
2014/01/24 16:58:23
Ok, thanks for the info.
| |
| 213 "items": { | |
| 214 "description": "<p>The list of profiles specified as UUID strings. </p>", | |
| 215 "type": "string" | |
| 216 } | |
| 217 } | |
| 218 } | |
| 203 } | 219 } |
| 204 ] | 220 ] |
| 205 } | 221 } |
| 206 ] | 222 ] |
| OLD | NEW |