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

Unified Diff: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.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
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_event_router.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc
diff --git a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc
index 2c1e1f2052c5019b51a59e74db7e001a2ce50ff3..5ed0354eb705282adbd3d4523b870374f4fca1c5 100644
--- a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc
+++ b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc
@@ -278,8 +278,7 @@ BluetoothLowEnergyEventRouter::~BluetoothLowEnergyEventRouter() {
bool BluetoothLowEnergyEventRouter::IsBluetoothSupported() const {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- return adapter_.get() ||
- BluetoothAdapterFactory::IsBluetoothAdapterAvailable();
+ return BluetoothAdapterFactory::IsBluetoothSupported();
}
bool BluetoothLowEnergyEventRouter::InitializeAdapterAndInvokeCallback(
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_event_router.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698