| Index: device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_discovery_manager_mac.mm b/device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| index 716858b873ad5ab1df63667bcd820f3a320c8222..1cc99d6cf786d71191a516a56dec9386cd279e48 100644
|
| --- a/device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| +++ b/device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| @@ -124,7 +124,7 @@ class BluetoothDiscoveryManagerMacClassic
|
| void DeviceFound(IOBluetoothDeviceInquiry* inquiry,
|
| IOBluetoothDevice* device) {
|
| DCHECK(observer_);
|
| - observer_->DeviceFound(device);
|
| + observer_->ClassicDeviceFound(device);
|
| }
|
|
|
| void DeviceInquiryComplete(IOBluetoothDeviceInquiry* inquiry,
|
| @@ -138,7 +138,7 @@ class BluetoothDiscoveryManagerMacClassic
|
| // If discovery is no longer desired, notify observers that discovery
|
| // has stopped and return.
|
| if (!should_do_discovery_) {
|
| - observer_->DiscoveryStopped(false /* unexpected */);
|
| + observer_->ClassicDiscoveryStopped(false /* unexpected */);
|
| return;
|
| }
|
|
|
| @@ -147,7 +147,7 @@ class BluetoothDiscoveryManagerMacClassic
|
| if (error != kIOReturnSuccess) {
|
| DVLOG(1) << "Inquiry has stopped with an error: " << error;
|
| should_do_discovery_ = false;
|
| - observer_->DiscoveryStopped(true /* unexpected */);
|
| + observer_->ClassicDiscoveryStopped(true /* unexpected */);
|
| return;
|
| }
|
|
|
| @@ -161,7 +161,7 @@ class BluetoothDiscoveryManagerMacClassic
|
| DVLOG(1) << "Failed to restart discovery";
|
| should_do_discovery_ = false;
|
| DCHECK(observer_);
|
| - observer_->DiscoveryStopped(true /* unexpected */);
|
| + observer_->ClassicDiscoveryStopped(true /* unexpected */);
|
| }
|
|
|
| private:
|
|
|