| 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 USBAlternateInterface_h | 5 #ifndef USBAlternateInterface_h |
| 6 #define USBAlternateInterface_h | 6 #define USBAlternateInterface_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/Heap.h" | 10 #include "platform/heap/Heap.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class ExceptionState; | 14 class ExceptionState; |
| 15 class USBEndpoint; | 15 class USBEndpoint; |
| 16 class USBInterface; | 16 class USBInterface; |
| 17 | 17 |
| 18 class USBAlternateInterface : public GarbageCollected<USBAlternateInterface>, | 18 class USBAlternateInterface : public GarbageCollected<USBAlternateInterface>, |
| 19 public ScriptWrappable { | 19 public ScriptWrappable { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 DECLARE_TRACE(); | 40 DECLARE_TRACE(); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 Member<const USBInterface> interface_; | 43 Member<const USBInterface> interface_; |
| 44 const size_t alternate_index_; | 44 const size_t alternate_index_; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace blink | 47 } // namespace blink |
| 48 | 48 |
| 49 #endif // USBAlternateInterface_h | 49 #endif // USBAlternateInterface_h |
| OLD | NEW |