| 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "base/sequenced_task_runner.h" | 13 #include "base/sequenced_task_runner.h" |
| 13 #include "device/bluetooth/bluetooth_gatt_service.h" | 14 #include "device/bluetooth/bluetooth_gatt_service.h" |
| 14 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" | 15 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" |
| 15 | 16 |
| 16 namespace device { | 17 namespace device { |
| 17 | 18 |
| 18 class BluetoothAdapterWin; | 19 class BluetoothAdapterWin; |
| 19 class BluetoothDeviceWin; | 20 class BluetoothDeviceWin; |
| 20 class BluetoothRemoteGattCharacteristicWin; | 21 class BluetoothRemoteGattCharacteristicWin; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 // Flag indicates if asynchronous discovery of included characteristic has | 122 // Flag indicates if asynchronous discovery of included characteristic has |
| 122 // completed. | 123 // completed. |
| 123 bool included_characteristics_discovered_; | 124 bool included_characteristics_discovered_; |
| 124 | 125 |
| 125 base::WeakPtrFactory<BluetoothRemoteGattServiceWin> weak_ptr_factory_; | 126 base::WeakPtrFactory<BluetoothRemoteGattServiceWin> weak_ptr_factory_; |
| 126 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceWin); | 127 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceWin); |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 } // namespace device. | 130 } // namespace device. |
| 130 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_WIN_H_ | 131 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_WIN_H_ |
| OLD | NEW |