Index: device/bluetooth/bluez/bluetooth_device_bluez.h |
diff --git a/device/bluetooth/bluez/bluetooth_device_bluez.h b/device/bluetooth/bluez/bluetooth_device_bluez.h |
index 3322c473f16e8f1b26c26c8c460207dbf83626e7..6e6f77f0225d9d9f4c46917f5279e92883d0f124 100644 |
--- a/device/bluetooth/bluez/bluetooth_device_bluez.h |
+++ b/device/bluetooth/bluez/bluetooth_device_bluez.h |
@@ -9,6 +9,7 @@ |
#include <memory> |
#include <string> |
+#include <unordered_map> |
#include <unordered_set> |
#include <vector> |
@@ -66,6 +67,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceBlueZ |
UUIDSet GetUUIDs() const override; |
base::Optional<int8_t> GetInquiryRSSI() const override; |
base::Optional<int8_t> GetInquiryTxPower() const override; |
+ base::Optional<uint8_t> GetAdvertisingDataFlags() const override; |
bool ExpectingPinCode() const override; |
bool ExpectingPasskey() const override; |
bool ExpectingConfirmation() const override; |
@@ -119,6 +121,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceBlueZ |
// advertising service data for a UUID. |
void UpdateServiceData(); |
+ // Called by BluetoothAdapterBlueZ to update manufacturer_data_ defined in |
+ // BluetoothDevice when receive DevicePropertyChanged event for the |
+ // manufacturer data property. Note that same BlueZ implementation detail from |
+ // UpdateServiceData() also applies here. |
+ void UpdateManufacturerData(); |
+ |
// Creates a pairing object with the given delegate |pairing_delegate| and |
// establishes it as the pairing context for this device. All pairing-related |
// method calls will be forwarded to this object until it is released. |