Index: device/bluetooth/bluetooth_adapter_mac.h |
diff --git a/device/bluetooth/bluetooth_adapter_mac.h b/device/bluetooth/bluetooth_adapter_mac.h |
index a20bea7c912bbe647f15df843cc349222995acff..525ff495b2ced263165fcda1b4a5a9564032c0f0 100644 |
--- a/device/bluetooth/bluetooth_adapter_mac.h |
+++ b/device/bluetooth/bluetooth_adapter_mac.h |
@@ -82,12 +82,14 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterMac |
device::BluetoothDevice::PairingDelegate* pairing_delegate) override; |
private: |
+ friend class base::DeleteHelper<BluetoothAdapterMac>; |
friend class BluetoothAdapterMacTest; |
BluetoothAdapterMac(); |
~BluetoothAdapterMac() override; |
// BluetoothAdapter: |
+ virtual void DeleteOnCorrectThread() const override; |
armansito
2014/12/16 22:01:47
nit: Drop virtual.
scheib
2014/12/16 22:15:26
Done.
|
void AddDiscoverySession(const base::Closure& callback, |
const ErrorCallback& error_callback) override; |
void RemoveDiscoverySession(const base::Closure& callback, |