| Index: Source/modules/bluetooth/Bluetooth.h
|
| diff --git a/Source/modules/bluetooth/Bluetooth.h b/Source/modules/bluetooth/Bluetooth.h
|
| index 9a42358a79791906d22d5b354a0173cec3d87fd3..03ad219bd56d5d08b600c590ea677eb5bf203cc9 100644
|
| --- a/Source/modules/bluetooth/Bluetooth.h
|
| +++ b/Source/modules/bluetooth/Bluetooth.h
|
| @@ -5,19 +5,29 @@
|
| #ifndef Bluetooth_h
|
| #define Bluetooth_h
|
|
|
| +#include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| -#include "modules/bluetooth/BluetoothDiscovery.h"
|
| +#include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class Bluetooth final
|
| - : public BluetoothDiscovery {
|
| +class ScriptPromise;
|
| +class ScriptState;
|
| +
|
| +class Bluetooth
|
| + : public GarbageCollected<Bluetooth>
|
| + , public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| static Bluetooth* create()
|
| {
|
| return new Bluetooth();
|
| }
|
| +
|
| + // BluetoothDiscovery interface
|
| + ScriptPromise requestDevice(ScriptState*);
|
| +
|
| + DEFINE_INLINE_TRACE() { }
|
| };
|
|
|
| } // namespace blink
|
|
|