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

Unified Diff: components/pairing/bluetooth_controller_pairing_controller.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/pairing/bluetooth_controller_pairing_controller.cc
diff --git a/components/pairing/bluetooth_controller_pairing_controller.cc b/components/pairing/bluetooth_controller_pairing_controller.cc
index 5ef30c9c9925a5cf6ccfc3ad68750f976c77a6e4..b8c9d0a080f537ab83d8b8beacc5b8f55c0c1275 100644
--- a/components/pairing/bluetooth_controller_pairing_controller.cc
+++ b/components/pairing/bluetooth_controller_pairing_controller.cc
@@ -241,7 +241,7 @@ void BluetoothControllerPairingController::StartPairing() {
current_stage_ == STAGE_DEVICE_NOT_FOUND ||
current_stage_ == STAGE_ESTABLISHING_CONNECTION_ERROR ||
current_stage_ == STAGE_HOST_ENROLLMENT_ERROR);
- if (!device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable()) {
+ if (!device::BluetoothAdapterFactory::IsBluetoothSupported()) {
ChangeStage(STAGE_INITIALIZATION_ERROR);
return;
}
« no previous file with comments | « components/arc/bluetooth/arc_bluetooth_bridge.cc ('k') | components/pairing/bluetooth_host_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698