Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h |
index 98d7d6498c22e76732c32aac0befe0cadb24c565..8be20ee62a07b2ba88cd9195f74884666f7ffc7a 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h |
@@ -316,12 +316,10 @@ class BluetoothLowEnergyEventRouter |
const std::vector<uint8>& value); |
// Called by BluetoothDevice in response to a call to CreateGattConnection. |
- void OnCreateGattConnection( |
- bool persistent, |
- const std::string& extension_id, |
- const std::string& device_address, |
- const base::Closure& callback, |
- scoped_ptr<device::BluetoothGattConnection> connection); |
+ void OnCreateGattConnection(bool persistent, |
+ 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. |
@@ -404,11 +402,6 @@ class BluetoothLowEnergyEventRouter |
// Bluetooth adapter of the system. |
scoped_refptr<device::BluetoothAdapter> adapter_; |
- // Set of extension ID + device addresses to which a connect/disconnect is |
- // currently pending. |
- std::set<std::string> connecting_devices_; |
- std::set<std::string> disconnecting_devices_; |
- |
// Set of extension ID + characteristic ID to which a request to start a |
// notify session is currently pending. |
std::set<std::string> pending_session_calls_; |