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

Unified Diff: device/bluetooth/bluez/bluetooth_device_bluez.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/bluez/bluetooth_device_bluez.h
diff --git a/device/bluetooth/bluez/bluetooth_device_bluez.h b/device/bluetooth/bluez/bluetooth_device_bluez.h
index 1084433a402a451a0a020d32a277aa031dc6fc65..8666eb4dbe1df97af563691a9dea7d9f4e0834f5 100644
--- a/device/bluetooth/bluez/bluetooth_device_bluez.h
+++ b/device/bluetooth/bluez/bluetooth_device_bluez.h
@@ -9,6 +9,8 @@
#include <memory>
#include <string>
+#include <unordered_set>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -62,6 +64,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceBlueZ
bool IsConnectable() const override;
bool IsConnecting() const override;
UUIDSet GetUUIDs() const override;
+ UUIDSet GetServiceDataUUIDs() const override;
+ const std::vector<uint8_t>* GetServiceDataForUUID(
+ const device::BluetoothUUID& uuid) const override;
base::Optional<int8_t> GetInquiryRSSI() const override;
base::Optional<int8_t> GetInquiryTxPower() const override;
bool ExpectingPinCode() const override;

Powered by Google App Engine
This is Rietveld 408576698