Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: extensions/test/data/manifest_tests/usb_printers_filters.json

Issue 1123093003: Add a manifest property declaring USB printers supported by an app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interfaceProtocol documentation. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/test/data/manifest_tests/usb_printers_filters.json
diff --git a/extensions/test/data/manifest_tests/usb_printers_filters.json b/extensions/test/data/manifest_tests/usb_printers_filters.json
new file mode 100644
index 0000000000000000000000000000000000000000..673c6846b5f73d329d47a99be31c866aa2754f68
--- /dev/null
+++ b/extensions/test/data/manifest_tests/usb_printers_filters.json
@@ -0,0 +1,21 @@
+{
+ "name": "extensions_unittests --gtest_filter=UsbPrinterManifestTest.InvalidFilter",
+ "version": "1",
+ "manifest_version": 2,
+ "app": {
+ "background": {
+ "scripts": ["background.js"]
+ }
+ },
+ "usb_printers": {
+ "filters": [
+ { "vendorId": 1, "productId": 2 },
+ {
+ "vendorId": 1,
+ "interfaceClass": 2,
+ "interfaceSubclass": 3,
+ "interfaceProtocol": 4
+ }
+ ]
+ }
+}
« no previous file with comments | « extensions/extensions_tests.gypi ('k') | extensions/test/data/manifest_tests/usb_printers_invalid_filter.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698