Index: extensions/common/api/extensions_manifest_types.json |
diff --git a/extensions/common/api/extensions_manifest_types.json b/extensions/common/api/extensions_manifest_types.json |
index 1829174ae7b25e9c1f0b64f103bbbb65efb08cb3..4837c9edc2c65f7443d073164a16a6448a145b9b 100644 |
--- a/extensions/common/api/extensions_manifest_types.json |
+++ b/extensions/common/api/extensions_manifest_types.json |
@@ -162,6 +162,46 @@ |
"optional": true |
} |
} |
+ }, |
+ { |
+ "id": "UsbPrinters", |
+ "type": "object", |
+ "description": "The <code>usb_printers</code> manifest property lists the USB printers supported by an app implementing the $(ref:printerProvider) API.", |
+ "properties": { |
+ "filters": { |
+ "description": "A list of $(ref:usb.DeviceFilter USB device filters) matching supported devices. A device only needs to match one of the provided filters. A <code>vendorId</code> is required and only one of <code>productId</code> or <code>interfaceClass</code> may be provided.", |
+ "type": "array", |
+ "items": { |
+ "type": "object", |
+ "properties": { |
+ "vendorId": { |
+ "description": "USB vendor ID of matching devices", |
+ "type": "integer" |
+ }, |
+ "productId": { |
+ "description": "USB product ID of matching devices", |
+ "type": "integer", |
+ "optional": true |
+ }, |
+ "interfaceClass": { |
+ "description": "USB interface class implemented by any interface of a matching device.", |
+ "type": "integer", |
+ "optional": true |
+ }, |
+ "interfaceSubclass": { |
+ "description": "USB interface sub-class implemented by the interface matching $(ref:interfaceClass).", |
+ "type": "integer", |
+ "optional": true |
+ }, |
+ "interfaceProtocol": { |
+ "description": "USB interface protocol implemented by the interface matching $(ref:interfaceClass) and $(ref:interfaceSubclass).", |
+ "type": "integer", |
+ "optional": true |
+ } |
+ } |
+ } |
+ } |
+ } |
} |
] |
} |