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 <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
17 #include "device/bluetooth/bluetooth_adapter.h" | 17 #include "device/bluetooth/bluetooth_adapter.h" |
18 #include "device/bluetooth/bluetooth_task_manager_win.h" | 18 #include "device/bluetooth/bluetooth_task_manager_win.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 | 21 |
22 class SequencedTaskRunner; | 22 class SequencedTaskRunner; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // NOTE: This should remain the last member so it'll be destroyed and | 117 // NOTE: This should remain the last member so it'll be destroyed and |
118 // invalidate its weak pointers before any other members are destroyed. | 118 // invalidate its weak pointers before any other members are destroyed. |
119 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; | 119 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; |
120 | 120 |
121 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin); | 121 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin); |
122 }; | 122 }; |
123 | 123 |
124 } // namespace device | 124 } // namespace device |
125 | 125 |
126 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ | 126 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ |
OLD | NEW |