Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: device/bluetooth/bluez/bluetooth_device_bluez.h

Issue 2421713002: arc: bluetooth: Expose missing advertise data. (Closed)
Patch Set: Add BlueZ unittests / more comment Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..d0cc1fac91c2a4245e306da8af3613848cf7e759 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>
@@ -119,6 +120,18 @@ 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();
+
+ // Called by BluetoothAdapterBlueZ to update advertising_data_flags_ defined
+ // in BluetoothDevice when receive DevicePropertyChanged event for the
+ // advertising data flags property. Note that same BlueZ implementation detail
+ // from UpdateServiceData() also applies here.
+ void UpdateAdvertisingDataFlags();
+
// 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.
« no previous file with comments | « device/bluetooth/bluez/bluetooth_bluez_unittest.cc ('k') | device/bluetooth/bluez/bluetooth_device_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698