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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 2369423003: bluetooth: Expose service data from BlueZ (Closed)
Patch Set: Fix comment 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
« no previous file with comments | « dbus/property_unittest.cc ('k') | device/bluetooth/bluez/bluetooth_adapter_bluez.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index a4cabdf6891e7348cf450c0a853bb3fb448002bc..ae8651bebc2d5a5066527302726e0e8ae072c5e5 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -317,13 +317,17 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
// returns the UUIDs of the device's services.
// * For dual mode devices this may be collected from both.
//
- // Note: On ChromeOS and Linux, Bluez persists all services meaning if
+ // Note: On ChromeOS and Linux, BlueZ persists all services meaning if
// a device stops advertising a service this function will still return
// its UUID.
virtual UUIDSet GetUUIDs() const;
// Returns the last advertised Service Data. Returns an empty map if the
// adapter is not discovering.
+ //
+ // Note: On ChromeOS and Linux, BlueZ persists all service data meaning if
+ // a device stops advertising service data for a UUID, this function will
+ // still return the cached value for that UUID.
const ServiceDataMap& GetServiceData() const;
// Returns the UUIDs of services for which the device advertises Service Data.
« no previous file with comments | « dbus/property_unittest.cc ('k') | device/bluetooth/bluez/bluetooth_adapter_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698