Index: device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h |
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h b/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h |
index f4a2a11777f9cac7bb0d4bc4d495b1b11ed1cf07..249590f2fe5bb713541da8a6bd51dc09a4a1261f 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h |
+++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h |
@@ -57,11 +57,6 @@ class BluetoothRemoteGattDescriptorChromeOS |
const dbus::ObjectPath& object_path); |
virtual ~BluetoothRemoteGattDescriptorChromeOS(); |
- // Called by dbus:: on successful completion of a request to read |
- // the descriptor value. |
- void OnValueSuccess(const ValueCallback& callback, |
- const std::vector<uint8>& value); |
- |
// Called by dbus:: on unsuccessful completion of a request to read or write |
// the descriptor value. |
void OnError(const ErrorCallback& error_callback, |
@@ -74,9 +69,6 @@ class BluetoothRemoteGattDescriptorChromeOS |
// The GATT characteristic this descriptor belongs to. |
BluetoothRemoteGattCharacteristicChromeOS* characteristic_; |
- // The cached characteristic value based on the most recent read request. |
- std::vector<uint8> cached_value_; |
- |
// Note: This should remain the last member so it'll be destroyed and |
// invalidate its weak pointers before any other members are destroyed. |
base::WeakPtrFactory<BluetoothRemoteGattDescriptorChromeOS> weak_ptr_factory_; |