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 BluetoothRemoteGATTCharacteristic_h | 5 #ifndef BluetoothRemoteGATTCharacteristic_h |
6 #define BluetoothRemoteGATTCharacteristic_h | 6 #define BluetoothRemoteGATTCharacteristic_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "core/dom/ContextLifecycleObserver.h" | 10 #include "core/dom/ContextLifecycleObserver.h" |
10 #include "core/dom/DOMArrayPiece.h" | 11 #include "core/dom/DOMArrayPiece.h" |
11 #include "core/dom/DOMDataView.h" | 12 #include "core/dom/DOMDataView.h" |
12 #include "modules/EventTargetModules.h" | 13 #include "modules/EventTargetModules.h" |
13 #include "modules/bluetooth/BluetoothRemoteGATTService.h" | 14 #include "modules/bluetooth/BluetoothRemoteGATTService.h" |
14 #include "platform/heap/Handle.h" | 15 #include "platform/heap/Handle.h" |
15 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" | 16 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
16 #include "wtf/text/WTFString.h" | 17 #include "wtf/text/WTFString.h" |
17 #include <memory> | |
18 | 18 |
19 namespace blink { | 19 namespace blink { |
20 | 20 |
21 class BluetoothCharacteristicProperties; | 21 class BluetoothCharacteristicProperties; |
22 class BluetoothDevice; | 22 class BluetoothDevice; |
23 class ExecutionContext; | 23 class ExecutionContext; |
24 class ScriptPromise; | 24 class ScriptPromise; |
25 class ScriptState; | 25 class ScriptState; |
26 | 26 |
27 // BluetoothRemoteGATTCharacteristic represents a GATT Characteristic, which is | 27 // BluetoothRemoteGATTCharacteristic represents a GATT Characteristic, which is |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 Member<BluetoothRemoteGATTService> m_service; | 129 Member<BluetoothRemoteGATTService> m_service; |
130 bool m_stopped; | 130 bool m_stopped; |
131 Member<BluetoothCharacteristicProperties> m_properties; | 131 Member<BluetoothCharacteristicProperties> m_properties; |
132 Member<DOMDataView> m_value; | 132 Member<DOMDataView> m_value; |
133 Member<BluetoothDevice> m_device; | 133 Member<BluetoothDevice> m_device; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace blink | 136 } // namespace blink |
137 | 137 |
138 #endif // BluetoothRemoteGATTCharacteristic_h | 138 #endif // BluetoothRemoteGATTCharacteristic_h |
OLD | NEW |