Index: device/bluetooth/bluetooth_adapter_android.h |
diff --git a/device/bluetooth/bluetooth_adapter_android.h b/device/bluetooth/bluetooth_adapter_android.h |
index e0625920bbe2f5bac98293ce40acfdc08a783468..52e257d8c1f40d80f71db4ed868361e1112720b1 100644 |
--- a/device/bluetooth/bluetooth_adapter_android.h |
+++ b/device/bluetooth/bluetooth_adapter_android.h |
@@ -21,6 +21,11 @@ namespace device { |
// BluetoothAdapterAndroid, along with the Java class |
// org.chromium.device.bluetooth.BluetoothAdapter, implement BluetoothAdapter. |
// |
+// The GATT Profile over Low Energy is supported, but not Classic Bluetooth at |
+// this time. LE GATT support has been initially built out to support Web |
+// Bluetooth, which does not need other Bluetooth features. There is no |
+// technical reason they can not be supported should a need arrise. |
+// |
// BluetoothAdapterAndroid is reference counted, and owns the lifetime of the |
// Java class BluetoothAdapter via j_adapter_. |
class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterAndroid final |
@@ -75,6 +80,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterAndroid final |
const CreateAdvertisementCallback& callback, |
const CreateAdvertisementErrorCallback& error_callback) override; |
+ // Handles a scan error event by invalidating all discovery sessions. |
+ void OnScanFailed(JNIEnv* env, jobject obj); |
+ |
protected: |
BluetoothAdapterAndroid(); |
~BluetoothAdapterAndroid() override; |