| Index: device/bluetooth/bluetooth_remote_gatt_service_android.h
|
| diff --git a/device/bluetooth/bluetooth_remote_gatt_service_android.h b/device/bluetooth/bluetooth_remote_gatt_service_android.h
|
| index f009258720a82230cfb3ac6b33b08d4f92732142..6a0f6e965aa9478ec6b151f7e37bff587b672eff 100644
|
| --- a/device/bluetooth/bluetooth_remote_gatt_service_android.h
|
| +++ b/device/bluetooth/bluetooth_remote_gatt_service_android.h
|
| @@ -11,6 +11,7 @@
|
| #include <vector>
|
|
|
| #include "base/android/jni_android.h"
|
| +#include "base/android/scoped_java_ref.h"
|
| #include "base/containers/scoped_ptr_hash_map.h"
|
| #include "base/macros.h"
|
| #include "device/bluetooth/bluetooth_remote_gatt_service.h"
|
| @@ -37,9 +38,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattServiceAndroid
|
| static std::unique_ptr<BluetoothRemoteGattServiceAndroid> Create(
|
| BluetoothAdapterAndroid* adapter,
|
| BluetoothDeviceAndroid* device,
|
| - jobject /* BluetoothGattServiceWrapper */ bluetooth_gatt_service_wrapper,
|
| + const base::android::JavaRef<
|
| + jobject>& /* BluetoothGattServiceWrapper */ bluetooth_gatt_service_wrapper,
|
| const std::string& instance_id,
|
| - jobject /* ChromeBluetoothDevice */ chrome_bluetooth_device);
|
| + const base::android::JavaRef<
|
| + jobject>& /* ChromeBluetoothDevice */ chrome_bluetooth_device);
|
|
|
| ~BluetoothRemoteGattServiceAndroid() override;
|
|
|
|
|