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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h

Issue 2752663002: Remove RemoteServerDisconnect() from web_bluetooth.mojom (Closed)
Patch Set: rebase Created 3 years, 9 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/Source/modules/bluetooth/BluetoothRemoteGATTServer.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h
index d72aa6d393b95c2a27a60adb3836d05f989fe51b..d4b241ef111af663f0794cb86e5d7640097c7292 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h
@@ -65,11 +65,10 @@ class BluetoothRemoteGATTServer
// garbage collected or the context is being destroyed.
void DisconnectIfConnected();
- // Performs necessary cleanup when a device disconnects and fires
- // gattserverdisconnected event.
- void CleanupDisconnectedDeviceAndFireEvent();
+ // Performs necessary cleanup when a device disconnects.
+ void CleanupDisconnectedDevice();
- void DispatchDisconnected();
+ void HandleClientConnectionError();
// USING_PRE_FINALIZER interface.
// Called before the object gets garbage collected.

Powered by Google App Engine
This is Rietveld 408576698