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

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

Issue 2369423003: bluetooth: Expose service data from BlueZ (Closed)
Patch Set: fix typo Created 4 years, 2 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..52a48ed7cd60b785f3b2b46f4af71fa074bd03cd 100644
--- a/device/bluetooth/dbus/bluetooth_device_client.h
+++ b/device/bluetooth/dbus/bluetooth_device_client.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <string>
+#include <unordered_map>
#include <vector>
#include "base/callback.h"
@@ -111,6 +112,10 @@ 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.
ortuno 2016/10/05 06:27:10 nit: just copy the description from the bluez docs
puthik_chromium 2016/10/06 01:49:56 Done.
+ dbus::Property<std::unordered_map<std::string, std::vector<uint8_t>>>
+ service_data;
+
Properties(dbus::ObjectProxy* object_proxy,
const std::string& interface_name,
const PropertyChangedCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698