DescriptionImplemented BluetoothExtensionFunction.
From discussion with Bryan (@bryeung) and Scott (@keybuk), we decided to make
the bluetooth extension functions asynchronous because it takes time to
initialize BluetoothAdapter. So I implemented BluetoothExtensionFunction, which
is the base class for all the subclasses and it calls DoWork() when the
bluetooth adapter is ready to use.
After this CL is submitted, I will turn
BluetoothAdapterFactory::DefaultAdapter() to receive a callback and run the
callback when the bluetooth adapter is ready.
TBR=sky@chromium.org
BUG=135470
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175553
Patch Set 1 #
Total comments: 2
Patch Set 2 : Revised comment #Patch Set 3 : Replace EXTENSION_FUNCTION_VALIDATE macro #
Total comments: 2
Patch Set 4 : Change DoWork to return boolean. #Patch Set 5 : Merge #
Messages
Total messages: 23 (0 generated)
|