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

Unified Diff: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h

Issue 1287753002: bluetooth: Remove callback from BluetoothGattConnection::Disconnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
diff --git a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index a420918888dc294ebf8521dd47236d006db2324e..2d03ab6d8bbf5065c64e911fe72e941b9c8557f3 100644
--- a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -320,11 +320,6 @@ class BluetoothLowEnergyEventRouter
const base::Closure& callback,
scoped_ptr<device::BluetoothGattConnection> connection);
- // Called by BluetoothGattConnection in response to a call to Disconnect.
- void OnDisconnect(const std::string& extension_id,
- const std::string& device_address,
- const base::Closure& callback);
-
// Called by BluetoothGattCharacteristic and BluetoothGattDescriptor in
// case of an error during the read/write operations.
void OnError(const ErrorCallback& error_callback,

Powered by Google App Engine
This is Rietveld 408576698