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

Unified Diff: device/bluetooth/bluez/bluetooth_adapter_bluez.h

Issue 1920353002: Implement create attribute API functions for BTLE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@api_changes
Patch Set: owners Created 4 years, 7 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 | « device/bluetooth/bluetooth_local_gatt_service.h ('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/bluez/bluetooth_adapter_bluez.h
diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.h b/device/bluetooth/bluez/bluetooth_adapter_bluez.h
index 33e6f5680f82ce8431c1475bd75fd919bb8e5f35..c989d7d69102cb7c1a425f1bef9625b5064ae1c5 100644
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.h
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.h
@@ -119,6 +119,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
const CreateAdvertisementCallback& callback,
const CreateAdvertisementErrorCallback& error_callback) override;
+ device::BluetoothLocalGattService* GetGattService(
+ const std::string& identifier) const override;
+
// Locates the device object by object path (the devices map and
// BluetoothDevice methods are by address).
BluetoothDeviceBlueZ* GetDeviceWithPath(const dbus::ObjectPath& object_path);
@@ -421,7 +424,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterBlueZ
std::unique_ptr<device::BluetoothDiscoveryFilter> current_filter_;
// List of GATT services that are owned by this adapter.
- std::vector<std::unique_ptr<BluetoothLocalGattServiceBlueZ>>
+ std::map<dbus::ObjectPath, std::unique_ptr<BluetoothLocalGattServiceBlueZ>>
owned_gatt_services_;
// GATT services that are currently available on the GATT server.
« no previous file with comments | « device/bluetooth/bluetooth_local_gatt_service.h ('k') | device/bluetooth/bluez/bluetooth_adapter_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698