OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "device/bluetooth/bluetooth_discovery_manager_mac.h" | 5 #include "device/bluetooth/bluetooth_discovery_manager_mac.h" |
6 | 6 |
7 #import <IOBluetooth/objc/IOBluetoothDevice.h> | 7 #import <IOBluetooth/objc/IOBluetoothDevice.h> |
8 #import <IOBluetooth/objc/IOBluetoothDeviceInquiry.h> | 8 #import <IOBluetooth/objc/IOBluetoothDeviceInquiry.h> |
9 | 9 |
| 10 #include "base/logging.h" |
10 #include "base/mac/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
11 #include "base/mac/sdk_forward_declarations.h" | 12 #include "base/mac/sdk_forward_declarations.h" |
12 #include "base/logging.h" | |
13 | 13 |
14 namespace device { | 14 namespace device { |
15 | 15 |
16 class BluetoothDiscoveryManagerMacClassic; | 16 class BluetoothDiscoveryManagerMacClassic; |
17 | 17 |
18 } // namespace device | 18 } // namespace device |
19 | 19 |
20 // IOBluetoothDeviceInquiryDelegate implementation. | 20 // IOBluetoothDeviceInquiryDelegate implementation. |
21 @interface BluetoothDeviceInquiryDelegate | 21 @interface BluetoothDeviceInquiryDelegate |
22 : NSObject<IOBluetoothDeviceInquiryDelegate> { | 22 : NSObject<IOBluetoothDeviceInquiryDelegate> { |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 manager_->DeviceFound(sender, device); | 213 manager_->DeviceFound(sender, device); |
214 } | 214 } |
215 | 215 |
216 - (void)deviceInquiryComplete:(IOBluetoothDeviceInquiry*)sender | 216 - (void)deviceInquiryComplete:(IOBluetoothDeviceInquiry*)sender |
217 error:(IOReturn)error | 217 error:(IOReturn)error |
218 aborted:(BOOL)aborted { | 218 aborted:(BOOL)aborted { |
219 manager_->DeviceInquiryComplete(sender, error, aborted); | 219 manager_->DeviceInquiryComplete(sender, error, aborted); |
220 } | 220 } |
221 | 221 |
222 @end | 222 @end |
OLD | NEW |