| 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 USBDevice_h | 5 #ifndef USBDevice_h |
| 6 #define USBDevice_h | 6 #define USBDevice_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ArrayBufferOrArrayBufferView.h" | 8 #include "bindings/core/v8/ArrayBufferOrArrayBufferView.h" |
| 9 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
| 10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
| 11 #include "core/dom/ContextLifecycleObserver.h" | 11 #include "core/dom/ContextLifecycleObserver.h" |
| 12 #include "device/usb/public/interfaces/device.mojom-blink.h" | 12 #include "device/usb/public/interfaces/device.mojom-blink.h" |
| 13 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
| 14 #include "wtf/BitVector.h" | 14 #include "platform/wtf/BitVector.h" |
| 15 #include "wtf/Vector.h" | 15 #include "platform/wtf/Vector.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class ScriptPromiseResolver; | 19 class ScriptPromiseResolver; |
| 20 class ScriptState; | 20 class ScriptState; |
| 21 class USBConfiguration; | 21 class USBConfiguration; |
| 22 class USBControlTransferParameters; | 22 class USBControlTransferParameters; |
| 23 | 23 |
| 24 class USBDevice : public GarbageCollectedFinalized<USBDevice>, | 24 class USBDevice : public GarbageCollectedFinalized<USBDevice>, |
| 25 public ContextLifecycleObserver, | 25 public ContextLifecycleObserver, |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 WTF::BitVector claimed_interfaces_; | 174 WTF::BitVector claimed_interfaces_; |
| 175 WTF::BitVector interface_state_change_in_progress_; | 175 WTF::BitVector interface_state_change_in_progress_; |
| 176 WTF::Vector<size_t> selected_alternates_; | 176 WTF::Vector<size_t> selected_alternates_; |
| 177 WTF::BitVector in_endpoints_; | 177 WTF::BitVector in_endpoints_; |
| 178 WTF::BitVector out_endpoints_; | 178 WTF::BitVector out_endpoints_; |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 } // namespace blink | 181 } // namespace blink |
| 182 | 182 |
| 183 #endif // USBDevice_h | 183 #endif // USBDevice_h |
| OLD | NEW |