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_GATT_SERVICE_BLUEZ_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_SERVICE_BLUEZ_H_ |
6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_SERVICE_BLUEZ_H_ | 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_SERVICE_BLUEZ_H_ |
7 | 7 |
8 #include <map> | 8 #include <cstdint> |
scheib
2016/04/27 05:13:00
Include changes do not seem needed in this file.
rkc
2016/04/27 19:41:06
Removed this and vector.
Done.
| |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_forward.h" | |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "dbus/object_path.h" | 14 #include "dbus/object_path.h" |
14 #include "device/bluetooth/bluetooth_gatt_service.h" | 15 #include "device/bluetooth/bluetooth_local_gatt_service.h" |
15 | 16 |
16 namespace bluez { | 17 namespace bluez { |
17 | 18 |
18 class BluetoothAdapterBlueZ; | 19 class BluetoothAdapterBlueZ; |
19 class BluetoothDeviceBlueZ; | 20 class BluetoothDeviceBlueZ; |
20 | 21 |
21 // The BluetoothGattServiceBlueZ class implements BluetootGattService | 22 // The BluetoothGattServiceBlueZ class implements BluetootGattService |
22 // for GATT services on platforms that use BlueZ. | 23 // for GATT services on platforms that use BlueZ. |
23 class BluetoothGattServiceBlueZ : public virtual device::BluetoothGattService { | 24 class BluetoothGattServiceBlueZ : public virtual device::BluetoothGattService { |
24 public: | 25 public: |
(...skipping 23 matching lines...) Expand all Loading... | |
48 // The adapter associated with this service. It's ok to store a raw pointer | 49 // The adapter associated with this service. It's ok to store a raw pointer |
49 // here since |adapter_| indirectly owns this instance. | 50 // here since |adapter_| indirectly owns this instance. |
50 BluetoothAdapterBlueZ* adapter_; | 51 BluetoothAdapterBlueZ* adapter_; |
51 | 52 |
52 DISALLOW_COPY_AND_ASSIGN(BluetoothGattServiceBlueZ); | 53 DISALLOW_COPY_AND_ASSIGN(BluetoothGattServiceBlueZ); |
53 }; | 54 }; |
54 | 55 |
55 } // namespace bluez | 56 } // namespace bluez |
56 | 57 |
57 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_SERVICE_BLUEZ_H_ | 58 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_GATT_SERVICE_BLUEZ_H_ |
OLD | NEW |