OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BluetoothRemoteGATTDescriptor_h | 5 #ifndef BluetoothRemoteGATTDescriptor_h |
6 #define BluetoothRemoteGATTDescriptor_h | 6 #define BluetoothRemoteGATTDescriptor_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "core/dom/DOMArrayPiece.h" | 10 #include "core/dom/DOMArrayPiece.h" |
10 #include "core/dom/DOMDataView.h" | 11 #include "core/dom/DOMDataView.h" |
11 #include "modules/EventTargetModules.h" | 12 #include "modules/EventTargetModules.h" |
12 #include "modules/bluetooth/Bluetooth.h" | 13 #include "modules/bluetooth/Bluetooth.h" |
13 #include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h" | 14 #include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h" |
14 #include "modules/bluetooth/BluetoothRemoteGATTService.h" | 15 #include "modules/bluetooth/BluetoothRemoteGATTService.h" |
15 #include "platform/heap/Handle.h" | 16 #include "platform/heap/Handle.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 BluetoothRemoteGATTCharacteristic; | 21 class BluetoothRemoteGATTCharacteristic; |
22 class ScriptPromise; | 22 class ScriptPromise; |
23 class ScriptState; | 23 class ScriptState; |
24 | 24 |
25 // BluetoothRemoteGATTDescriptor represents a GATT Descriptor, which is | 25 // BluetoothRemoteGATTDescriptor represents a GATT Descriptor, which is |
26 // a basic data element that provides further information about a peripheral's | 26 // a basic data element that provides further information about a peripheral's |
27 // characteristic. | 27 // characteristic. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 mojom::blink::WebBluetoothResult); | 68 mojom::blink::WebBluetoothResult); |
69 | 69 |
70 mojom::blink::WebBluetoothRemoteGATTDescriptorPtr m_descriptor; | 70 mojom::blink::WebBluetoothRemoteGATTDescriptorPtr m_descriptor; |
71 Member<BluetoothRemoteGATTCharacteristic> m_characteristic; | 71 Member<BluetoothRemoteGATTCharacteristic> m_characteristic; |
72 Member<DOMDataView> m_value; | 72 Member<DOMDataView> m_value; |
73 }; | 73 }; |
74 | 74 |
75 } // namespace blink | 75 } // namespace blink |
76 | 76 |
77 #endif // BluetoothRemoteGATTDescriptor_h | 77 #endif // BluetoothRemoteGATTDescriptor_h |
OLD | NEW |