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

Unified Diff: device/bluetooth/bluetooth_adapter_factory_wrapper.h

Issue 2384463002: bluetooth: mac: Reject requestDevice promise if Mac version is <= 10.9 (Closed)
Patch Set: Created 4 years, 2 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/bluetooth_adapter_factory_wrapper.h
diff --git a/device/bluetooth/bluetooth_adapter_factory_wrapper.h b/device/bluetooth/bluetooth_adapter_factory_wrapper.h
index cf6839fddc631518afa56dac4b0dd9a71aaedd0a..1a46b7c1462f10b4da8b1c03c26ea81c9a54a94a 100644
--- a/device/bluetooth/bluetooth_adapter_factory_wrapper.h
+++ b/device/bluetooth/bluetooth_adapter_factory_wrapper.h
@@ -33,6 +33,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterFactoryWrapper {
// SetBluetoothAdapterForTesting has been called.
bool IsBluetoothAdapterAvailable();
+ // Returns true if the platform supports Bluetooth Low Energy or if
+ // SetBluetoothAdapterForTesting has been called.
+ bool IsLowEnergyAvailable();
ortuno 2016/10/04 03:20:24 We no longer need IsBluetoothAdapterAvailable; rep
François Beaufort 2016/10/04 10:00:22 Done.
+
// Adds |observer| to the set of adapter observers. If another observer has
// acquired the adapter in the past it adds |observer| as an observer to that
// adapter, otherwise it gets a new adapter and adds |observer| to it. Runs

Powered by Google App Engine
This is Rietveld 408576698