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

Unified Diff: device/bluetooth/dbus/bluetooth_device_client.h

Issue 2369423003: bluetooth: Expose service data from BlueZ (Closed)
Patch Set: Change scope to not cover just dbus property Created 4 years, 3 months 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/dbus/bluetooth_device_client.h
diff --git a/device/bluetooth/dbus/bluetooth_device_client.h b/device/bluetooth/dbus/bluetooth_device_client.h
index e53ff0b38bd3d736e9331ca22576c202f619d9df..bbb6059894f8695d8ce0056aeca1b09b33784dbe 100644
--- a/device/bluetooth/dbus/bluetooth_device_client.h
+++ b/device/bluetooth/dbus/bluetooth_device_client.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <map>
#include <string>
#include <vector>
@@ -111,6 +112,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceClient : public BluezDBusClient {
// Indicate whether or not service discovery has been resolved. Read-only.
dbus::Property<bool> services_resolved;
+ // List of Service data. Read-only.
+ dbus::Property<std::map<std::string, std::vector<uint8_t>>> service_data;
ortuno 2016/09/28 08:39:24 Could this be an unordered map?
puthik_chromium 2016/10/05 00:11:33 Done.
+
Properties(dbus::ObjectProxy* object_proxy,
const std::string& interface_name,
const PropertyChangedCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698