OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 BluetoothDevice_h | 5 #ifndef BluetoothDevice_h |
6 #define BluetoothDevice_h | 6 #define BluetoothDevice_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 "modules/EventTargetModules.h" | 11 #include "modules/EventTargetModules.h" |
11 #include "modules/bluetooth/BluetoothRemoteGATTServer.h" | 12 #include "modules/bluetooth/BluetoothRemoteGATTServer.h" |
12 #include "platform/heap/Heap.h" | 13 #include "platform/heap/Heap.h" |
13 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" | 14 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
14 #include "wtf/text/WTFString.h" | 15 #include "wtf/text/WTFString.h" |
15 #include <memory> | |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class Bluetooth; | 19 class Bluetooth; |
20 class BluetoothAttributeInstanceMap; | 20 class BluetoothAttributeInstanceMap; |
21 class BluetoothRemoteGATTCharacteristic; | 21 class BluetoothRemoteGATTCharacteristic; |
22 class BluetoothRemoteGATTDescriptor; | 22 class BluetoothRemoteGATTDescriptor; |
23 class BluetoothRemoteGATTServer; | 23 class BluetoothRemoteGATTServer; |
24 class BluetoothRemoteGATTService; | 24 class BluetoothRemoteGATTService; |
25 class ScriptPromiseResolver; | 25 class ScriptPromiseResolver; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 Member<BluetoothAttributeInstanceMap> m_attributeInstanceMap; | 112 Member<BluetoothAttributeInstanceMap> m_attributeInstanceMap; |
113 | 113 |
114 mojom::blink::WebBluetoothDevicePtr m_device; | 114 mojom::blink::WebBluetoothDevicePtr m_device; |
115 Member<BluetoothRemoteGATTServer> m_gatt; | 115 Member<BluetoothRemoteGATTServer> m_gatt; |
116 Member<Bluetooth> m_bluetooth; | 116 Member<Bluetooth> m_bluetooth; |
117 }; | 117 }; |
118 | 118 |
119 } // namespace blink | 119 } // namespace blink |
120 | 120 |
121 #endif // BluetoothDevice_h | 121 #endif // BluetoothDevice_h |
OLD | NEW |