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