| 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" |
| 14 #include "platform/wtf/text/WTFString.h" |
| 13 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" | 15 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
| 14 #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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 mojom::blink::WebBluetoothRemoteGATTServicePtr service_; | 71 mojom::blink::WebBluetoothRemoteGATTServicePtr service_; |
| 72 const bool is_primary_; | 72 const bool is_primary_; |
| 73 const String device_instance_id_; | 73 const String device_instance_id_; |
| 74 Member<BluetoothDevice> device_; | 74 Member<BluetoothDevice> device_; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace blink | 77 } // namespace blink |
| 78 | 78 |
| 79 #endif // BluetoothRemoteGATTService_h | 79 #endif // BluetoothRemoteGATTService_h |
| OLD | NEW |