| 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 "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/dom/ContextLifecycleObserver.h" | 9 #include "core/dom/ContextLifecycleObserver.h" |
| 10 #include "core/dom/DOMArrayPiece.h" | 10 #include "core/dom/DOMArrayPiece.h" |
| 11 #include "core/dom/DOMDataView.h" | 11 #include "core/dom/DOMDataView.h" |
| 12 #include "modules/EventTargetModules.h" | 12 #include "modules/EventTargetModules.h" |
| 13 #include "modules/bluetooth/BluetoothRemoteGATTService.h" | 13 #include "modules/bluetooth/BluetoothRemoteGATTService.h" |
| 14 #include "mojo/public/cpp/bindings/associated_binding_set.h" | 14 #include "mojo/public/cpp/bindings/associated_binding_set.h" |
| 15 #include "platform/heap/Handle.h" | 15 #include "platform/heap/Handle.h" |
| 16 #include "platform/wtf/text/WTFString.h" |
| 16 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" | 17 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
| 17 #include "wtf/text/WTFString.h" | |
| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 Member<BluetoothCharacteristicProperties> properties_; | 132 Member<BluetoothCharacteristicProperties> properties_; |
| 133 Member<DOMDataView> value_; | 133 Member<DOMDataView> value_; |
| 134 Member<BluetoothDevice> device_; | 134 Member<BluetoothDevice> device_; |
| 135 mojo::AssociatedBindingSet<mojom::blink::WebBluetoothCharacteristicClient> | 135 mojo::AssociatedBindingSet<mojom::blink::WebBluetoothCharacteristicClient> |
| 136 client_bindings_; | 136 client_bindings_; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace blink | 139 } // namespace blink |
| 140 | 140 |
| 141 #endif // BluetoothRemoteGATTCharacteristic_h | 141 #endif // BluetoothRemoteGATTCharacteristic_h |
| OLD | NEW |