| Index: device/bluetooth/bluez/bluetooth_service_record_bluez.h
|
| diff --git a/device/bluetooth/bluez/bluetooth_service_record_bluez.h b/device/bluetooth/bluez/bluetooth_service_record_bluez.h
|
| index b19618f816900a8ae73ee9f819f92f2eeba889b5..5fb62052253f9792baedaf4de7c38d822925568b 100644
|
| --- a/device/bluetooth/bluez/bluetooth_service_record_bluez.h
|
| +++ b/device/bluetooth/bluez/bluetooth_service_record_bluez.h
|
| @@ -42,11 +42,15 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothServiceRecordBlueZ {
|
| const BluetoothServiceAttributeValueBlueZ& GetAttributeValue(
|
| uint16_t attribute_id) const;
|
|
|
| - // Add an an entry to this service record. If a record with the given ID
|
| - // already exists, it is replaced.
|
| + // Adds an entry to this service record. If a record with the given ID already
|
| + // exists, it is replaced.
|
| void AddRecordEntry(uint16_t id,
|
| const BluetoothServiceAttributeValueBlueZ& value);
|
|
|
| + // Returns true if the given attribute ID is found in the attribute map, false
|
| + // otherwise.
|
| + bool IsAttributePresented(uint16_t id);
|
| +
|
| private:
|
| std::map<uint16_t, BluetoothServiceAttributeValueBlueZ> attributes_;
|
| };
|
|
|