diff options
author | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-04 19:27:43 +0000 |
---|---|---|
committer | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-04 19:27:43 +0000 |
commit | 1073598a0433e59683f43b9098c1d86110646a2b (patch) | |
tree | 89d99a1eaa4708550c67e64333f0909b7066f2a9 /device/device.gyp | |
parent | 95795dd9bf0371dff6e9ef737b2dcca107300dea (diff) | |
download | chromium_src-1073598a0433e59683f43b9098c1d86110646a2b.zip chromium_src-1073598a0433e59683f43b9098c1d86110646a2b.tar.gz chromium_src-1073598a0433e59683f43b9098c1d86110646a2b.tar.bz2 |
Implemented AdapterState.
I had to use polling to update the adapter since IOBluetoothHostController is not KVO compliant (i.e. we cannot put callbacks or notifiers to listen to the adapter state changes).
But fortunately we do not have to create a separate thread since all the Bluetooth System APIs in MACOSX are asynchronous.
BUG=135472
Review URL: https://chromiumcodereview.appspot.com/12379054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/device.gyp')
-rw-r--r-- | device/device.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/device/device.gyp b/device/device.gyp index 14cd65a9..e5335f8 100644 --- a/device/device.gyp +++ b/device/device.gyp @@ -151,6 +151,7 @@ 'sources': [ 'bluetooth/bluetooth_adapter_chromeos_unittest.cc', 'bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc', + 'bluetooth/bluetooth_adapter_mac_unittest.mm', 'bluetooth/bluetooth_adapter_win_unittest.cc', 'bluetooth/bluetooth_device_win_unittest.cc', 'bluetooth/bluetooth_service_record_chromeos_unittest.cc', |