Index: device/bluetooth/bluez/bluetooth_gatt_service_bluez.h |
diff --git a/device/bluetooth/bluez/bluetooth_gatt_service_bluez.h b/device/bluetooth/bluez/bluetooth_gatt_service_bluez.h |
index 45932d09d3130ca105edd8a6744ec8609acc8668..f907f58f6e35a6a5e27ba106889b7ec5838f4914 100644 |
--- a/device/bluetooth/bluez/bluetooth_gatt_service_bluez.h |
+++ b/device/bluetooth/bluez/bluetooth_gatt_service_bluez.h |
@@ -5,9 +5,7 @@ |
#ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_SERVICE_BLUEZ_H_ |
#define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_SERVICE_BLUEZ_H_ |
-#include <map> |
#include <string> |
-#include <vector> |
#include "base/macros.h" |
#include "dbus/object_path.h" |
@@ -36,12 +34,10 @@ class BluetoothGattServiceBlueZ : public virtual device::BluetoothGattService { |
BluetoothAdapterBlueZ* GetAdapter() const; |
protected: |
- explicit BluetoothGattServiceBlueZ(BluetoothAdapterBlueZ* adapter); |
+ BluetoothGattServiceBlueZ(BluetoothAdapterBlueZ* adapter, |
+ dbus::ObjectPath object_path); |
~BluetoothGattServiceBlueZ() override; |
- // Object path of the GATT service. |
- dbus::ObjectPath object_path_; |
- |
private: |
friend class BluetoothDeviceBlueZ; |
@@ -49,6 +45,9 @@ class BluetoothGattServiceBlueZ : public virtual device::BluetoothGattService { |
// here since |adapter_| indirectly owns this instance. |
BluetoothAdapterBlueZ* adapter_; |
+ // Object path of the GATT service. |
+ dbus::ObjectPath object_path_; |
+ |
DISALLOW_COPY_AND_ASSIGN(BluetoothGattServiceBlueZ); |
}; |