Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2117)

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h

Issue 1527853002: bluetooth: Add disconnect function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-device-identifier
Patch Set: Fix test that fails after upstream change. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8d74751f19e5d810fd8f8d9a424cc3aa24d4a6db..6e3af3799bd572b755fbebd8a1d133ac7be036f1 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h
@@ -60,7 +60,7 @@ public:
// BluetoothGATTRemoteServer methods:
// See https://webbluetoothchrome.github.io/web-bluetooth/#idl-def-bluetoothgattremoteserver
- virtual void disconnect() { }
+ virtual void disconnect(const WebString& deviceId) = 0;
virtual void getPrimaryService(const WebString& deviceId,
const WebString& serviceUUID,
WebBluetoothGetPrimaryServiceCallbacks*) { }

Powered by Google App Engine
This is Rietveld 408576698