| 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 "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "bindings/modules/v8/UnionTypesModules.h" | 9 #include "bindings/modules/v8/StringOrUnsignedLong.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "public/platform/modules/bluetooth/WebBluetoothRemoteGATTService.h" | 11 #include "public/platform/modules/bluetooth/WebBluetoothRemoteGATTService.h" |
| 12 #include "public/platform/modules/bluetooth/web_bluetooth.mojom.h" | 12 #include "public/platform/modules/bluetooth/web_bluetooth.mojom.h" |
| 13 #include "wtf/OwnPtr.h" | 13 #include "wtf/OwnPtr.h" |
| 14 #include "wtf/PassOwnPtr.h" | 14 #include "wtf/PassOwnPtr.h" |
| 15 #include "wtf/text/WTFString.h" | 15 #include "wtf/text/WTFString.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class ScriptPromise; | 19 class ScriptPromise; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 ScriptPromise getCharacteristicsImpl(ScriptState*, mojom::WebBluetoothGATTQu
eryQuantity, String characteristicUUID = String()); | 53 ScriptPromise getCharacteristicsImpl(ScriptState*, mojom::WebBluetoothGATTQu
eryQuantity, String characteristicUUID = String()); |
| 54 | 54 |
| 55 OwnPtr<WebBluetoothRemoteGATTService> m_webService; | 55 OwnPtr<WebBluetoothRemoteGATTService> m_webService; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace blink | 58 } // namespace blink |
| 59 | 59 |
| 60 #endif // BluetoothRemoteGATTService_h | 60 #endif // BluetoothRemoteGATTService_h |
| OLD | NEW |