| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_SERVICE_BLUEZ_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_SERVICE_BLUEZ_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_SERVICE_BLUEZ_H_ | 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_SERVICE_BLUEZ_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "dbus/object_path.h" | 16 #include "dbus/object_path.h" |
| 17 #include "device/bluetooth/bluetooth_remote_gatt_service.h" | 17 #include "device/bluetooth/bluetooth_remote_gatt_service.h" |
| 18 #include "device/bluetooth/bluetooth_uuid.h" | 18 #include "device/bluetooth/bluetooth_uuid.h" |
| 19 #include "device/bluetooth/bluez/bluetooth_gatt_service_bluez.h" | 19 #include "device/bluetooth/bluez/bluetooth_gatt_service_bluez.h" |
| 20 #include "device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h" | 20 #include "device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h" |
| 21 #include "device/bluetooth/dbus/bluetooth_gatt_service_client.h" | 21 #include "device/bluetooth/dbus/bluetooth_gatt_service_client.h" |
| 22 | 22 |
| 23 namespace device { | 23 namespace device { |
| 24 | 24 |
| 25 class BluetoothAdapter; | |
| 26 class BluetoothDevice; | 25 class BluetoothDevice; |
| 27 class BluetoothRemoteGattCharacteristic; | 26 class BluetoothRemoteGattCharacteristic; |
| 28 | 27 |
| 29 } // namespace device | 28 } // namespace device |
| 30 | 29 |
| 31 namespace bluez { | 30 namespace bluez { |
| 32 | 31 |
| 33 class BluetoothAdapterBlueZ; | 32 class BluetoothAdapterBlueZ; |
| 34 class BluetoothDeviceBlueZ; | 33 class BluetoothDeviceBlueZ; |
| 35 class BluetoothRemoteGattCharacteristicBlueZ; | 34 class BluetoothRemoteGattCharacteristicBlueZ; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // Note: This should remain the last member so it'll be destroyed and | 114 // Note: This should remain the last member so it'll be destroyed and |
| 116 // invalidate its weak pointers before any other members are destroyed. | 115 // invalidate its weak pointers before any other members are destroyed. |
| 117 base::WeakPtrFactory<BluetoothRemoteGattServiceBlueZ> weak_ptr_factory_; | 116 base::WeakPtrFactory<BluetoothRemoteGattServiceBlueZ> weak_ptr_factory_; |
| 118 | 117 |
| 119 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceBlueZ); | 118 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceBlueZ); |
| 120 }; | 119 }; |
| 121 | 120 |
| 122 } // namespace bluez | 121 } // namespace bluez |
| 123 | 122 |
| 124 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_SERVICE_BLUEZ_H_ | 123 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_SERVICE_BLUEZ_H_ |
| OLD | NEW |