| Index: device/bluetooth/bluetooth_adapter_factory_wrapper.cc
|
| diff --git a/device/bluetooth/bluetooth_adapter_factory_wrapper.cc b/device/bluetooth/bluetooth_adapter_factory_wrapper.cc
|
| index 722fb247e4851b012ada60d855ff3a082186dc8c..0f6734e0fc4387e5cca9306dac989322df9deffd 100644
|
| --- a/device/bluetooth/bluetooth_adapter_factory_wrapper.cc
|
| +++ b/device/bluetooth/bluetooth_adapter_factory_wrapper.cc
|
| @@ -35,12 +35,12 @@ BluetoothAdapterFactoryWrapper& BluetoothAdapterFactoryWrapper::Get() {
|
| return g_singleton.Get();
|
| }
|
|
|
| -bool BluetoothAdapterFactoryWrapper::IsLowEnergyAvailable() {
|
| +bool BluetoothAdapterFactoryWrapper::IsLowEnergySupported() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| if (adapter_ != nullptr) {
|
| return true;
|
| }
|
| - return BluetoothAdapterFactory::IsLowEnergyAvailable();
|
| + return BluetoothAdapterFactory::IsLowEnergySupported();
|
| }
|
|
|
| void BluetoothAdapterFactoryWrapper::AcquireAdapter(
|
| @@ -56,7 +56,7 @@ void BluetoothAdapterFactoryWrapper::AcquireAdapter(
|
| return;
|
| }
|
|
|
| - DCHECK(BluetoothAdapterFactory::IsLowEnergyAvailable());
|
| + DCHECK(BluetoothAdapterFactory::IsLowEnergySupported());
|
| BluetoothAdapterFactory::GetAdapter(
|
| base::Bind(&BluetoothAdapterFactoryWrapper::OnGetAdapter,
|
| weak_ptr_factory_.GetWeakPtr(), callback));
|
|
|