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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_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
Index: extensions/browser/api/bluetooth/bluetooth_event_router.cc
diff --git a/extensions/browser/api/bluetooth/bluetooth_event_router.cc b/extensions/browser/api/bluetooth/bluetooth_event_router.cc
index 841935dc611615b087d5f8c52b8dd939911b3b0b..46cd468c65871a9c8acaa66e05760bab348443a4 100644
--- a/extensions/browser/api/bluetooth/bluetooth_event_router.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_event_router.cc
@@ -73,8 +73,7 @@ BluetoothEventRouter::~BluetoothEventRouter() {
}
bool BluetoothEventRouter::IsBluetoothSupported() const {
- return adapter_.get() ||
- device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable();
+ return device::BluetoothAdapterFactory::IsBluetoothSupported();
}
void BluetoothEventRouter::GetAdapter(

Powered by Google App Engine
This is Rietveld 408576698