Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: device/bluetooth/adapter_factory.cc

Issue 2808353004: bluetooth: Rename Is*Available to Is*Supported (Closed)
Patch Set: Add const Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/adapter_factory.cc
diff --git a/device/bluetooth/adapter_factory.cc b/device/bluetooth/adapter_factory.cc
index 9eabd2d3bb8ea9e884007137b5f34584ff43106b..b214d21b45afdbe26f0cf924622810e22ccbaabd 100644
--- a/device/bluetooth/adapter_factory.cc
+++ b/device/bluetooth/adapter_factory.cc
@@ -22,7 +22,7 @@ void AdapterFactory::Create(mojom::AdapterFactoryRequest request) {
}
void AdapterFactory::GetAdapter(const GetAdapterCallback& callback) {
- if (device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable()) {
+ if (device::BluetoothAdapterFactory::IsBluetoothSupported()) {
device::BluetoothAdapterFactory::GetAdapter(
base::Bind(&AdapterFactory::OnGetAdapter,
weak_ptr_factory_.GetWeakPtr(), callback));
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | device/bluetooth/bluetooth_adapter_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698