| 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 USBEndpoint_h | 5 #ifndef USBEndpoint_h |
| 6 #define USBEndpoint_h | 6 #define USBEndpoint_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 USBAlternateInterface; | 15 class USBAlternateInterface; |
| 16 | 16 |
| 17 class USBEndpoint : public GarbageCollected<USBEndpoint>, | 17 class USBEndpoint : public GarbageCollected<USBEndpoint>, |
| 18 public ScriptWrappable { | 18 public ScriptWrappable { |
| 19 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 38 DECLARE_TRACE(); | 38 DECLARE_TRACE(); |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 Member<const USBAlternateInterface> alternate_; | 41 Member<const USBAlternateInterface> alternate_; |
| 42 const size_t endpoint_index_; | 42 const size_t endpoint_index_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // USBEndpoint_h | 47 #endif // USBEndpoint_h |
| OLD | NEW |