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_SERVICE_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_WIN_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_WIN_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
| 10 #include <unordered_map> |
10 | 11 |
11 #include "base/files/file.h" | 12 #include "base/files/file.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/sequenced_task_runner.h" | 14 #include "base/sequenced_task_runner.h" |
14 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" | 15 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" |
15 #include "device/bluetooth/bluetooth_remote_gatt_service.h" | 16 #include "device/bluetooth/bluetooth_remote_gatt_service.h" |
16 | 17 |
17 namespace device { | 18 namespace device { |
18 | 19 |
19 class BluetoothAdapterWin; | 20 class BluetoothAdapterWin; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // Flag indicates if asynchronous discovery of included characteristic has | 118 // Flag indicates if asynchronous discovery of included characteristic has |
118 // completed. | 119 // completed. |
119 bool included_characteristics_discovered_; | 120 bool included_characteristics_discovered_; |
120 | 121 |
121 base::WeakPtrFactory<BluetoothRemoteGattServiceWin> weak_ptr_factory_; | 122 base::WeakPtrFactory<BluetoothRemoteGattServiceWin> weak_ptr_factory_; |
122 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceWin); | 123 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceWin); |
123 }; | 124 }; |
124 | 125 |
125 } // namespace device. | 126 } // namespace device. |
126 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_WIN_H_ | 127 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_WIN_H_ |
OLD | NEW |