Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Side by Side Diff: device/bluetooth/bluetooth_remote_gatt_descriptor_win.h

Issue 2542903002: device: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_characteristic_win.h ('k') | device/bluetooth/bluetooth_remote_gatt_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698