| 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 BluetoothRemoteGATTServer_h | 5 #ifndef BluetoothRemoteGATTServer_h |
| 6 #define BluetoothRemoteGATTServer_h | 6 #define BluetoothRemoteGATTServer_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "bindings/modules/v8/StringOrUnsignedLong.h" | 9 #include "bindings/modules/v8/StringOrUnsignedLong.h" |
| 10 #include "core/dom/ContextLifecycleObserver.h" | 10 #include "core/dom/ContextLifecycleObserver.h" |
| 11 #include "modules/bluetooth/BluetoothDevice.h" | 11 #include "modules/bluetooth/BluetoothDevice.h" |
| 12 #include "mojo/public/cpp/bindings/associated_binding_set.h" | 12 #include "mojo/public/cpp/bindings/associated_binding_set.h" |
| 13 #include "platform/heap/Heap.h" | 13 #include "platform/heap/Heap.h" |
| 14 #include "platform/wtf/text/WTFString.h" |
| 14 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" | 15 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
| 15 #include "wtf/text/WTFString.h" | |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class BluetoothDevice; | 19 class BluetoothDevice; |
| 20 class ScriptPromise; | 20 class ScriptPromise; |
| 21 class ScriptPromiseResolver; | 21 class ScriptPromiseResolver; |
| 22 class ScriptState; | 22 class ScriptState; |
| 23 | 23 |
| 24 // BluetoothRemoteGATTServer provides a way to interact with a connected | 24 // BluetoothRemoteGATTServer provides a way to interact with a connected |
| 25 // bluetooth peripheral. | 25 // bluetooth peripheral. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 mojo::AssociatedBindingSet<mojom::blink::WebBluetoothServerClient> | 114 mojo::AssociatedBindingSet<mojom::blink::WebBluetoothServerClient> |
| 115 client_bindings_; | 115 client_bindings_; |
| 116 | 116 |
| 117 Member<BluetoothDevice> device_; | 117 Member<BluetoothDevice> device_; |
| 118 bool connected_; | 118 bool connected_; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace blink | 121 } // namespace blink |
| 122 | 122 |
| 123 #endif // BluetoothDevice_h | 123 #endif // BluetoothDevice_h |
| OLD | NEW |