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

Unified Diff: extensions/test/data/manifest_tests/usb_printers_invalid_filter.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
« no previous file with comments | « extensions/test/data/manifest_tests/usb_printers_filters.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/data/manifest_tests/usb_printers_invalid_filter.json
diff --git a/extensions/test/data/manifest_tests/usb_printers_invalid_filter.json b/extensions/test/data/manifest_tests/usb_printers_invalid_filter.json
new file mode 100644
index 0000000000000000000000000000000000000000..e11777950f51bf8e8679834a168a4d00e736c410
--- /dev/null
+++ b/extensions/test/data/manifest_tests/usb_printers_invalid_filter.json
@@ -0,0 +1,16 @@
+{
+ "name": "extensions_unittests --gtest_filter=UsbPrinterManifestTest.InvalidFilter",
+ "version": "1",
+ "manifest_version": 2,
+ "app": {
+ "background": {
+ "scripts": ["background.js"]
+ }
+ },
+ "usb_printers": {
+ "filters": [
+ // Cannot specify both productId and interfaceClass.
+ { "vendorId": 0, "productId": 0, "interfaceClass": 0 }
+ ]
+ }
+}
« no previous file with comments | « extensions/test/data/manifest_tests/usb_printers_filters.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698