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_; |