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

Side by Side Diff: device/bluetooth/bluetooth_remote_gatt_characteristic_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_CHARACTERISTIC_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_WIN_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <unordered_map> 9 #include <unordered_map>
10 10
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" 13 #include "device/bluetooth/bluetooth_low_energy_defs_win.h"
14 #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h" 14 #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h"
15 #include "device/bluetooth/bluetooth_remote_gatt_service.h" 15 #include "device/bluetooth/bluetooth_remote_gatt_service.h"
16 16
17 namespace device { 17 namespace device {
18 18
19 class BluetoothAdapterWin;
20 class BluetoothRemoteGattDescriptorWin; 19 class BluetoothRemoteGattDescriptorWin;
21 class BluetoothRemoteGattServiceWin; 20 class BluetoothRemoteGattServiceWin;
22 class BluetoothTaskManagerWin; 21 class BluetoothTaskManagerWin;
23 22
24 // The BluetoothRemoteGattCharacteristicWin class implements 23 // The BluetoothRemoteGattCharacteristicWin class implements
25 // BluetoothRemoteGattCharacteristic for remote GATT services on Windows 8 and 24 // BluetoothRemoteGattCharacteristic for remote GATT services on Windows 8 and
26 // later. 25 // later.
27 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicWin 26 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicWin
28 : public BluetoothRemoteGattCharacteristic { 27 : public BluetoothRemoteGattCharacteristic {
29 public: 28 public:
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // GATT event handle returned by GattEventRegistrationCallback. 134 // GATT event handle returned by GattEventRegistrationCallback.
136 PVOID gatt_event_handle_; 135 PVOID gatt_event_handle_;
137 136
138 base::WeakPtrFactory<BluetoothRemoteGattCharacteristicWin> weak_ptr_factory_; 137 base::WeakPtrFactory<BluetoothRemoteGattCharacteristicWin> weak_ptr_factory_;
139 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattCharacteristicWin); 138 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattCharacteristicWin);
140 }; 139 };
141 140
142 } // namespace device 141 } // namespace device
143 142
144 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_WIN_H_ 143 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_CHARACTERISTIC_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_device_mac.h ('k') | device/bluetooth/bluetooth_remote_gatt_descriptor_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698