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

Unified Diff: components/proximity_auth/bluetooth_connection.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: components/proximity_auth/bluetooth_connection.cc
diff --git a/components/proximity_auth/bluetooth_connection.cc b/components/proximity_auth/bluetooth_connection.cc
index 563446d9f5e560afb04082a608f023018b9ceac9..d3798d848154da114a13828f8ffdf6dbbf781038 100644
--- a/components/proximity_auth/bluetooth_connection.cc
+++ b/components/proximity_auth/bluetooth_connection.cc
@@ -42,7 +42,7 @@ void BluetoothConnection::Connect() {
return;
}
- if (!device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable()) {
+ if (!device::BluetoothAdapterFactory::IsBluetoothSupported()) {
PA_LOG(WARNING)
<< "Connection failed: Bluetooth is unsupported on this platform.";
return;

Powered by Google App Engine
This is Rietveld 408576698