| Index: device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
|
| diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
|
| index 1c2a99a55ff315135e46ae1425e142e303308be6..5286baad3b351932001c292b3c9a42771a2cfbd2 100644
|
| --- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
|
| +++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
|
| @@ -10,17 +10,17 @@ namespace device {
|
|
|
| // static
|
| scoped_ptr<BluetoothRemoteGattCharacteristicAndroid>
|
| -BluetoothRemoteGattCharacteristicAndroid::Create() {
|
| +BluetoothRemoteGattCharacteristicAndroid::Create(
|
| + const std::string& instanceId) {
|
| return make_scoped_ptr<BluetoothRemoteGattCharacteristicAndroid>(
|
| - new BluetoothRemoteGattCharacteristicAndroid());
|
| + new BluetoothRemoteGattCharacteristicAndroid(instanceId));
|
| }
|
|
|
| BluetoothRemoteGattCharacteristicAndroid::
|
| ~BluetoothRemoteGattCharacteristicAndroid() {}
|
|
|
| std::string BluetoothRemoteGattCharacteristicAndroid::GetIdentifier() const {
|
| - NOTIMPLEMENTED();
|
| - return "";
|
| + return instanceId_;
|
| }
|
|
|
| BluetoothUUID BluetoothRemoteGattCharacteristicAndroid::GetUUID() const {
|
| @@ -106,6 +106,7 @@ void BluetoothRemoteGattCharacteristicAndroid::WriteRemoteCharacteristic(
|
| }
|
|
|
| BluetoothRemoteGattCharacteristicAndroid::
|
| - BluetoothRemoteGattCharacteristicAndroid() {}
|
| + BluetoothRemoteGattCharacteristicAndroid(const std::string& instanceId)
|
| + : instanceId_(instanceId) {}
|
|
|
| } // namespace device
|
|
|