OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MAC_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
7 | 7 |
8 #include <IOKit/IOReturn.h> | 8 #include <IOKit/IOReturn.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "device/bluetooth/bluetooth_adapter.h" | 17 #include "device/bluetooth/bluetooth_adapter.h" |
18 | 18 |
19 #ifdef __OBJC__ | 19 #ifdef __OBJC__ |
20 @class BluetoothAdapterMacDelegate; | 20 @class BluetoothAdapterMacDelegate; |
21 @class IOBluetoothDevice; | 21 @class IOBluetoothDevice; |
22 @class IOBluetoothDeviceInquiry; | 22 @class IOBluetoothDeviceInquiry; |
23 @class NSArray; | 23 @class NSArray; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 ObserverList<BluetoothAdapter::Observer> observers_; | 130 ObserverList<BluetoothAdapter::Observer> observers_; |
131 | 131 |
132 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; | 132 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; |
133 | 133 |
134 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); | 134 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); |
135 }; | 135 }; |
136 | 136 |
137 } // namespace device | 137 } // namespace device |
138 | 138 |
139 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ | 139 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
OLD | NEW |