| Index: device/bluetooth/bluetooth_remote_gatt_descriptor_android.h
|
| diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_android.h b/device/bluetooth/bluetooth_remote_gatt_descriptor_android.h
|
| index b959a54d82076ed2b8da2a81cc3c7842ea625874..fa4a415812362124578d5f63af7ad2b845e7a57d 100644
|
| --- a/device/bluetooth/bluetooth_remote_gatt_descriptor_android.h
|
| +++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_android.h
|
| @@ -8,6 +8,7 @@
|
| #include <memory>
|
|
|
| #include "base/android/jni_android.h"
|
| +#include "base/android/scoped_java_ref.h"
|
| #include "base/macros.h"
|
| #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h"
|
| #include "device/bluetooth/bluetooth_remote_gatt_descriptor.h"
|
| @@ -28,9 +29,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattDescriptorAndroid
|
| // reference to |bluetooth_gatt_descriptor_wrapper|.
|
| static std::unique_ptr<BluetoothRemoteGattDescriptorAndroid> Create(
|
| const std::string& instanceId,
|
| - jobject /* BluetoothGattDescriptorWrapper */
|
| + const base::android::JavaRef<jobject>& /* BluetoothGattDescriptorWrapper
|
| + */
|
| bluetooth_gatt_descriptor_wrapper,
|
| - jobject /* chromeBluetoothDevice */ chrome_bluetooth_device);
|
| + const base::android::JavaRef<
|
| + jobject>& /* chromeBluetoothDevice */ chrome_bluetooth_device);
|
|
|
| ~BluetoothRemoteGattDescriptorAndroid() override;
|
|
|
|
|