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_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" | 12 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" |
13 #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h" | 13 #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h" |
14 #include "device/bluetooth/bluetooth_remote_gatt_descriptor.h" | 14 #include "device/bluetooth/bluetooth_remote_gatt_descriptor.h" |
15 | 15 |
| 16 namespace base { |
| 17 class SequencedTaskRunner; |
| 18 } |
| 19 |
16 namespace device { | 20 namespace device { |
17 | 21 |
18 class BluetoothRemoteGattCharacteristicWin; | 22 class BluetoothRemoteGattCharacteristicWin; |
19 class BluetoothTaskManagerWin; | 23 class BluetoothTaskManagerWin; |
20 | 24 |
21 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattDescriptorWin | 25 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattDescriptorWin |
22 : public BluetoothRemoteGattDescriptor { | 26 : public BluetoothRemoteGattDescriptor { |
23 public: | 27 public: |
24 BluetoothRemoteGattDescriptorWin( | 28 BluetoothRemoteGattDescriptorWin( |
25 BluetoothRemoteGattCharacteristicWin* parent_characteristic, | 29 BluetoothRemoteGattCharacteristicWin* parent_characteristic, |
(...skipping 30 matching lines...) Expand all Loading... |
56 BluetoothUUID descriptor_uuid_; | 60 BluetoothUUID descriptor_uuid_; |
57 std::string descriptor_identifier_; | 61 std::string descriptor_identifier_; |
58 std::vector<uint8_t> descriptor_value_; | 62 std::vector<uint8_t> descriptor_value_; |
59 | 63 |
60 base::WeakPtrFactory<BluetoothRemoteGattDescriptorWin> weak_ptr_factory_; | 64 base::WeakPtrFactory<BluetoothRemoteGattDescriptorWin> weak_ptr_factory_; |
61 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattDescriptorWin); | 65 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattDescriptorWin); |
62 }; | 66 }; |
63 | 67 |
64 } // namespace device. | 68 } // namespace device. |
65 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ | 69 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ |
OLD | NEW |