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

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

Issue 1946053002: Fixes to DBus GATT components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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_gatt_service_service_provider_impl.h
diff --git a/device/bluetooth/dbus/bluetooth_gatt_service_service_provider_impl.h b/device/bluetooth/dbus/bluetooth_gatt_service_service_provider_impl.h
index 2aa4c411c3334560007efeaf7668042c5124fd82..ec765fb41b70d267db36a6584aec97baba3616f0 100644
--- a/device/bluetooth/dbus/bluetooth_gatt_service_service_provider_impl.h
+++ b/device/bluetooth/dbus/bluetooth_gatt_service_service_provider_impl.h
@@ -28,13 +28,15 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattServiceServiceProviderImpl
dbus::Bus* bus,
const dbus::ObjectPath& object_path,
const std::string& uuid,
+ bool is_primary,
const std::vector<dbus::ObjectPath>& includes);
~BluetoothGattServiceServiceProviderImpl() override;
// For testing.
BluetoothGattServiceServiceProviderImpl(const dbus::ObjectPath& object_path,
- const std::string& uuid);
+ const std::string& uuid,
+ bool is_primary);
private:
// Returns true if the current thread is on the origin thread.
@@ -70,6 +72,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattServiceServiceProviderImpl
// 128-bit service UUID of this object.
std::string uuid_;
+ // Flag indicating that this is a primary service.
+ bool is_primary_;
+
// List of object paths that represent other exported GATT services that are
// included from this service.
std::vector<dbus::ObjectPath> includes_;

Powered by Google App Engine
This is Rietveld 408576698