| 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 | |
| 20 namespace device { | 16 namespace device { |
| 21 | 17 |
| 22 class BluetoothRemoteGattCharacteristicWin; | 18 class BluetoothRemoteGattCharacteristicWin; |
| 23 class BluetoothTaskManagerWin; | 19 class BluetoothTaskManagerWin; |
| 24 | 20 |
| 25 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattDescriptorWin | 21 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattDescriptorWin |
| 26 : public BluetoothRemoteGattDescriptor { | 22 : public BluetoothRemoteGattDescriptor { |
| 27 public: | 23 public: |
| 28 BluetoothRemoteGattDescriptorWin( | 24 BluetoothRemoteGattDescriptorWin( |
| 29 BluetoothRemoteGattCharacteristicWin* parent_characteristic, | 25 BluetoothRemoteGattCharacteristicWin* parent_characteristic, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 60 BluetoothUUID descriptor_uuid_; | 56 BluetoothUUID descriptor_uuid_; |
| 61 std::string descriptor_identifier_; | 57 std::string descriptor_identifier_; |
| 62 std::vector<uint8_t> descriptor_value_; | 58 std::vector<uint8_t> descriptor_value_; |
| 63 | 59 |
| 64 base::WeakPtrFactory<BluetoothRemoteGattDescriptorWin> weak_ptr_factory_; | 60 base::WeakPtrFactory<BluetoothRemoteGattDescriptorWin> weak_ptr_factory_; |
| 65 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattDescriptorWin); | 61 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattDescriptorWin); |
| 66 }; | 62 }; |
| 67 | 63 |
| 68 } // namespace device. | 64 } // namespace device. |
| 69 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ | 65 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ |
| OLD | NEW |