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 BluetoothRemoteGATTService_h | 5 #ifndef BluetoothRemoteGATTService_h |
6 #define BluetoothRemoteGATTService_h | 6 #define BluetoothRemoteGATTService_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "bindings/modules/v8/StringOrUnsignedLong.h" | 10 #include "bindings/modules/v8/StringOrUnsignedLong.h" |
10 #include "modules/bluetooth/BluetoothDevice.h" | 11 #include "modules/bluetooth/BluetoothDevice.h" |
11 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.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 ScriptPromise; | 19 class ScriptPromise; |
20 class ScriptState; | 20 class ScriptState; |
21 | 21 |
22 // Represents a GATT Service within a Bluetooth Peripheral, a collection of | 22 // Represents a GATT Service within a Bluetooth Peripheral, a collection of |
23 // characteristics and relationships to other services that encapsulate the | 23 // characteristics and relationships to other services that encapsulate the |
24 // behavior of part of a device. | 24 // behavior of part of a device. |
25 // | 25 // |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 mojom::blink::WebBluetoothRemoteGATTServicePtr m_service; | 70 mojom::blink::WebBluetoothRemoteGATTServicePtr m_service; |
71 const bool m_isPrimary; | 71 const bool m_isPrimary; |
72 const String m_deviceInstanceId; | 72 const String m_deviceInstanceId; |
73 Member<BluetoothDevice> m_device; | 73 Member<BluetoothDevice> m_device; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace blink | 76 } // namespace blink |
77 | 77 |
78 #endif // BluetoothRemoteGATTService_h | 78 #endif // BluetoothRemoteGATTService_h |
OLD | NEW |