| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ADAPTER_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <set> | 10 #include <set> |
| 9 #include <string> | 11 #include <string> |
| 10 #include <utility> | 12 #include <utility> |
| 11 #include <vector> | 13 #include <vector> |
| 12 | 14 |
| 13 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
| 16 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
| 16 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 17 #include "base/threading/thread_checker.h" | 20 #include "base/threading/thread_checker.h" |
| 18 #include "device/bluetooth/bluetooth_adapter.h" | 21 #include "device/bluetooth/bluetooth_adapter.h" |
| 19 #include "device/bluetooth/bluetooth_audio_sink.h" | 22 #include "device/bluetooth/bluetooth_audio_sink.h" |
| 20 #include "device/bluetooth/bluetooth_discovery_session.h" | 23 #include "device/bluetooth/bluetooth_discovery_session.h" |
| 21 #include "device/bluetooth/bluetooth_export.h" | 24 #include "device/bluetooth/bluetooth_export.h" |
| 22 #include "device/bluetooth/bluetooth_task_manager_win.h" | 25 #include "device/bluetooth/bluetooth_task_manager_win.h" |
| 23 | 26 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // NOTE: This should remain the last member so it'll be destroyed and | 155 // NOTE: This should remain the last member so it'll be destroyed and |
| 153 // invalidate its weak pointers before any other members are destroyed. | 156 // invalidate its weak pointers before any other members are destroyed. |
| 154 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; | 157 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; |
| 155 | 158 |
| 156 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin); | 159 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin); |
| 157 }; | 160 }; |
| 158 | 161 |
| 159 } // namespace device | 162 } // namespace device |
| 160 | 163 |
| 161 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ | 164 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ |
| OLD | NEW |