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 c0606b420c7ae2c6bf6adffeda5d320bd660faa4..36b6dc87fb5361271fb7c3106f15ecd92c6c0123 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h |
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h |
@@ -24,9 +24,6 @@ class BluetoothRemoteGattServiceAndroid; |
// BluetoothRemoteGattCharacteristicAndroid along with its owned Java class |
// org.chromium.device.bluetooth.ChromeBluetoothRemoteGattCharacteristic |
// implement BluetootGattCharacteristic. |
-// |
-// TODO(crbug.com/551634): When notifications are enabled characteristic updates |
-// should call observers' GattCharacteristicValueChanged. |
class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicAndroid |
: public BluetoothRemoteGattCharacteristic { |
public: |
@@ -66,7 +63,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicAndroid |
const std::string& identifier) const override; |
void ReadRemoteCharacteristic(const ValueCallback& callback, |
const ErrorCallback& error_callback) override; |
- void WriteRemoteCharacteristic(const std::vector<uint8_t>& new_value, |
+ void WriteRemoteCharacteristic(const std::vector<uint8_t>& value, |
const base::Closure& callback, |
const ErrorCallback& error_callback) override; |