DescriptionFix BluetoothAdapterProfileChromeOS lifecycle management
Have BluetoothAdapterProfileChromeOS objects managed through
BluetoothAdapterChromeOS, avoiding problems where references were being
left behind in BluetoothSocketChromeOS after deletion.
Adds some unit tests to confirm lifecycle works correctly even when
multiple profiles are requested simultaneously.
This is a resubmit of https://codereview.chromium.org/935383003/ after a revert
for LSan test failures https://codereview.chromium.org/975323002/, a patch with
just changes from the old CL can be found there.
BUG=457978
R=armansito, isherman@chromium.org, keybuk
Committed: https://crrev.com/202fef401ecfdef89837e709847f4e2189f0ee31
Cr-Commit-Position: refs/heads/master@{#319721}
Patch Set 1 #
Total comments: 4
Patch Set 2 : use scoped_ptr as applicable #
Total comments: 5
Patch Set 3 : fix possible double free, code cleanup #
Total comments: 8
Patch Set 4 : address nits, remove test debug logging #Messages
Total messages: 14 (2 generated)
|