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

Unified Diff: device/bluetooth/bluez/bluetooth_device_bluez.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/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..f92947c8e21fc3d40b2429031cff9273450a567e 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"
@@ -103,6 +105,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceBlueZ
void GetServiceRecords(const GetServiceRecordsCallback& callback,
const GetServiceRecordsErrorCallback& error_callback);
+ // Called by BluetoothAdapterBlueZ to update BluetoothDevice->service_data_
+ // when receive DevicePropertyChanged event from dbus.
+ void UpdateServiceData();
ortuno 2016/10/05 06:27:10 nit: [...] when we receive a DevicePropertyChanged
puthik_chromium 2016/10/06 01:49:56 Done.
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698