Index: public/platform/modules/webusb/WebUSBDeviceEnumerationOptions.h |
diff --git a/public/platform/modules/webusb/WebUSBDeviceEnumerationOptions.h b/public/platform/modules/webusb/WebUSBDeviceEnumerationOptions.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..85a65df013b980b744c0d215a72e0102bc013532 |
--- /dev/null |
+++ b/public/platform/modules/webusb/WebUSBDeviceEnumerationOptions.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebUSBDeviceEnumerationOptions_h |
+#define WebUSBDeviceEnumerationOptions_h |
+ |
+#include "public/platform/WebVector.h" |
+#include "public/platform/modules/webusb/WebUSBDeviceFilter.h" |
+ |
+namespace blink { |
+ |
+// Options which constrain the set of devices returned in device enumeration. |
+struct WebUSBDeviceEnumerationOptions { |
+ WebVector<WebUSBDeviceFilter> filters; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebUSBDeviceEnumerationOptions_h |