| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef WebUSBDeviceEnumerationOptions_h | 5 #ifndef WebUSBDeviceRequestOptions_h |
| 6 #define WebUSBDeviceEnumerationOptions_h | 6 #define WebUSBDeviceRequestOptions_h |
| 7 | 7 |
| 8 #include "public/platform/WebVector.h" | 8 #include "public/platform/WebVector.h" |
| 9 #include "public/platform/modules/webusb/WebUSBDeviceFilter.h" | 9 #include "public/platform/modules/webusb/WebUSBDeviceFilter.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 // Options which constrain the set of devices returned in device enumeration. | 13 // Options which constrain the kind of devices the user is prompted to select. |
| 14 struct WebUSBDeviceEnumerationOptions { | 14 struct WebUSBDeviceRequestOptions { |
| 15 WebVector<WebUSBDeviceFilter> filters; | 15 WebVector<WebUSBDeviceFilter> filters; |
| 16 }; | 16 }; |
| 17 | 17 |
| 18 } // namespace blink | 18 } // namespace blink |
| 19 | 19 |
| 20 #endif // WebUSBDeviceEnumerationOptions_h | 20 #endif // WebUSBDeviceRequestOptions_h |
| OLD | NEW |