Descriptiondevice/bluetooth: Clean up classic discovery in BluetoothAdapterMac.
This CL cleans up the way the IOBluetoothDeviceInquiry object's state
and the callbacks passed to AddDiscoverySession and
RemoveDiscoverySession are managed by BluetoothAdapterMac. Since the API
functions start and stop already report their result synchronously,
success/failure can be determined without complex tracking of delegate
methods.
This CL moves the explicit restarting of inquiry sessions into separate
class and makes AddDiscoverySession and RemoveDiscoverySession behave in
a way that is consistent with the overall DiscoverySession API.
BUG=381980, 345007
TEST=Tested several parallel discovery sessions on a MacBook Pro with OS
10.9.2
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276973
Patch Set 1 #
Total comments: 1
Patch Set 2 : Moved discovery manager to its own file. #
Total comments: 37
Patch Set 3 : Addressed comments by isherman@. #
Total comments: 4
Patch Set 4 : Addressed comments #
Messages
Total messages: 14 (0 generated)
|