Index: device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h b/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
index 01aed06eddba3f0670040deaa96594afdbab4f58..b0f8d69353e0758fbec668c4a94860dc2955712f 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
@@ -122,10 +122,13 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicMac |
std::pair<ValueCallback, ErrorCallback> read_characteristic_value_callbacks_; |
// WriteRemoteCharacteristic request callbacks. |
std::pair<base::Closure, ErrorCallback> write_characteristic_value_callbacks_; |
- // Stores SubscribeToNotifications request callbacks. |
+ // Stores callbacks for SubscribeToNotifications and |
+ // UnsubscribeFromNotifications requests. |
typedef std::pair<base::Closure, ErrorCallback> PendingNotifyCallbacks; |
// Stores SubscribeToNotifications request callbacks. |
PendingNotifyCallbacks subscribe_to_notification_callbacks_; |
+ // Stores UnsubscribeFromNotifications request callbacks. |
+ PendingNotifyCallbacks unsubscribe_from_notification_callbacks_; |
// Map of descriptors, keyed by descriptor identifier. |
std::unordered_map<std::string, |
std::unique_ptr<BluetoothRemoteGattDescriptorMac>> |