| 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 USBConfiguration_h | 5 #ifndef USBConfiguration_h |
| 6 #define USBConfiguration_h | 6 #define USBConfiguration_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "device/usb/public/interfaces/device.mojom-blink.h" | 8 #include "device/usb/public/interfaces/device.mojom-blink.h" |
| 9 #include "platform/bindings/ScriptWrappable.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class ExceptionState; | 14 class ExceptionState; |
| 15 class USBDevice; | 15 class USBDevice; |
| 16 class USBInterface; | 16 class USBInterface; |
| 17 | 17 |
| 18 class USBConfiguration : public GarbageCollected<USBConfiguration>, | 18 class USBConfiguration : public GarbageCollected<USBConfiguration>, |
| 19 public ScriptWrappable { | 19 public ScriptWrappable { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 38 DECLARE_TRACE(); | 38 DECLARE_TRACE(); |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 Member<const USBDevice> device_; | 41 Member<const USBDevice> device_; |
| 42 const size_t configuration_index_; | 42 const size_t configuration_index_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // USBConfiguration_h | 47 #endif // USBConfiguration_h |
| OLD | NEW |