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

Unified Diff: device/bluetooth/bluetooth_adapter_chromeos.h

Issue 812673002: bluetooth: BluetoothAdapterDeleter used to control BluetoothAdapter destruction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years 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_adapter_chromeos.h
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h
index 30deae6d8cec00ce23faf0a2ab8e1fe225947b43..490803bdaa5ddb0e485e62893afba37fc176b23d 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos.h
+++ b/device/bluetooth/bluetooth_adapter_chromeos.h
@@ -44,6 +44,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS
static base::WeakPtr<BluetoothAdapter> CreateAdapter();
// BluetoothAdapter:
+ virtual void DeleteOnCorrectThread() const override;
armansito 2014/12/16 22:01:47 nit: Drop "virtual" since you already specify "ove
scheib 2014/12/16 22:15:26 Done.
virtual void AddObserver(
device::BluetoothAdapter::Observer* observer) override;
virtual void RemoveObserver(
@@ -116,6 +117,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS
device::BluetoothDevice::PairingDelegate* pairing_delegate) override;
private:
+ friend class base::DeleteHelper<BluetoothAdapterChromeOS>;
friend class BluetoothChromeOSTest;
// typedef for callback parameters that are passed to AddDiscoverySession

Powered by Google App Engine
This is Rietveld 408576698