Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h |
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h |
index 49f0cc4e2b8f18b3360e5366be1bfa142c785def..b7930bcc36af30b12bab3309bc52d5a745909941 100644 |
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h |
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h |
@@ -15,6 +15,7 @@ |
namespace blink { |
+class WebBluetoothDevice; |
class WebBluetoothRemoteGATTCharacteristic; |
struct WebBluetoothDeviceInit; |
@@ -58,7 +59,8 @@ public: |
// BluetoothRemoteGATTServer methods: |
// See https://webbluetoothchrome.github.io/web-bluetooth/#idl-def-bluetoothgattremoteserver |
virtual void connect(const WebString& deviceId, |
- WebBluetoothRemoteGATTServerConnectCallbacks*) { } |
+ WebBluetoothDevice* device, |
+ WebBluetoothRemoteGATTServerConnectCallbacks*) {} |
virtual void disconnect(const WebString& deviceId) = 0; |
virtual void getPrimaryService(const WebString& deviceId, |
const WebString& serviceUUID, |