Index: device/bluetooth/bluetooth_remote_gatt_characteristic_android.h |
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h |
index 58e139d8170a50ab989931a1575bbd13047da761..7414977c543d5e400597e2e06c2b579a988f1603 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h |
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h |
@@ -24,7 +24,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicAndroid |
// to |bluetooth_remote_gatt_service_wrapper|. |
// |
// TODO(scheib): Actually create the Java object. crbug.com/545682 |
- static scoped_ptr<BluetoothRemoteGattCharacteristicAndroid> Create(); |
+ static scoped_ptr<BluetoothRemoteGattCharacteristicAndroid> Create( |
+ const std::string& instanceId); |
~BluetoothRemoteGattCharacteristicAndroid() override; |
@@ -51,7 +52,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicAndroid |
const ErrorCallback& error_callback) override; |
private: |
- BluetoothRemoteGattCharacteristicAndroid(); |
+ BluetoothRemoteGattCharacteristicAndroid(const std::string& instanceId); |
+ |
+ // Adapter unique instance ID. |
+ std::string instanceId_; |
std::vector<uint8> value_; |