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

Unified Diff: device/bluetooth/bluetooth_gatt_connection.h

Issue 1287753002: bluetooth: Remove callback from BluetoothGattConnection::Disconnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge TOT Created 5 years, 3 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: device/bluetooth/bluetooth_gatt_connection.h
diff --git a/device/bluetooth/bluetooth_gatt_connection.h b/device/bluetooth/bluetooth_gatt_connection.h
index 81e1c8e43b13f159554dd976ca40150cd9f7d5e8..1f90636ccc342ac1c33625ceb8c62f02d98482a2 100644
--- a/device/bluetooth/bluetooth_gatt_connection.h
+++ b/device/bluetooth/bluetooth_gatt_connection.h
@@ -34,10 +34,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattConnection {
// Returns true if this connection is open.
virtual bool IsConnected() = 0;
- // Disconnects this GATT connection and calls |callback| upon completion.
- // After a successful invocation, the device may still remain connected due to
- // other GATT connections.
- virtual void Disconnect(const base::Closure& callback) = 0;
+ // Disconnects this GATT connection. The device may still remain connected due
+ // to other GATT connections.
+ virtual void Disconnect() = 0;
protected:
BluetoothGattConnection();
« no previous file with comments | « device/bluetooth/bluetooth_gatt_chromeos_unittest.cc ('k') | device/bluetooth/bluetooth_gatt_connection_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698