Added runtime checks to BluetoothLowEnergyDeviceMac and
commitb53d5d2078793f80b78ee4b6229c22fae731add1
authorkrstnmnlsn <krstnmnlsn@chromium.org>
Wed, 15 Jul 2015 20:42:44 +0000 (15 13:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Jul 2015 20:43:30 +0000 (15 20:43 +0000)
treeedde29fa9e88c9aa7facc921b87f6222138fd628
parentd458a7cfcfbbfde91d23d8689dbc7e79bd41022e
Added runtime checks to BluetoothLowEnergyDeviceMac and
BluetoothDiscoveryManagerMac so that CoreBluetooth, particularly the class
CBCentralManager, is only used if on OS X 10.10 or later.  This is done to
address crbug.com/506287 as well as a previous issue where
CBCentralManager caused a crash on the mac_chromium_rel_ng trybot
(running 10.9.5).

BUG=506287

Review URL: https://codereview.chromium.org/1228863002

Cr-Commit-Position: refs/heads/master@{#338908}
device/bluetooth/bluetooth_adapter_mac.h
device/bluetooth/bluetooth_adapter_mac.mm
device/bluetooth/bluetooth_adapter_mac_unittest.mm
device/bluetooth/bluetooth_low_energy_device_mac.mm
device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm