diff options
Diffstat (limited to 'components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc')
-rw-r--r-- | components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc index 39ee9bc..b41ec03 100644 --- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc +++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder_unittest.cc @@ -89,8 +89,8 @@ class MockBluetoothLowEnergyConnectionFinder kToPeripheralCharUUID, kFromPeripheralCharUUID, device_whitelist, - kMaxNumberOfAttempts) { - } + nullptr, + kMaxNumberOfAttempts) {} ~MockBluetoothLowEnergyConnectionFinder() override {} @@ -219,14 +219,14 @@ TEST_F(ProximityAuthBluetoothLowEnergyConnectionFinderTest, // should not crash. BluetoothLowEnergyConnectionFinder connection_finder( kServiceUUID, kToPeripheralCharUUID, kFromPeripheralCharUUID, - device_whitelist_.get(), kMaxNumberOfAttempts); + device_whitelist_.get(), nullptr, kMaxNumberOfAttempts); } TEST_F(ProximityAuthBluetoothLowEnergyConnectionFinderTest, Find_StartsDiscoverySession) { BluetoothLowEnergyConnectionFinder connection_finder( kServiceUUID, kToPeripheralCharUUID, kFromPeripheralCharUUID, - device_whitelist_.get(), kMaxNumberOfAttempts); + device_whitelist_.get(), nullptr, kMaxNumberOfAttempts); EXPECT_CALL(*adapter_, StartDiscoverySessionWithFilterRaw(_, _, _)); EXPECT_CALL(*adapter_, AddObserver(_)); @@ -237,7 +237,7 @@ TEST_F(ProximityAuthBluetoothLowEnergyConnectionFinderTest, Find_StopsDiscoverySessionBeforeDestroying) { BluetoothLowEnergyConnectionFinder connection_finder( kServiceUUID, kToPeripheralCharUUID, kFromPeripheralCharUUID, - device_whitelist_.get(), kMaxNumberOfAttempts); + device_whitelist_.get(), nullptr, kMaxNumberOfAttempts); device::BluetoothAdapter::DiscoverySessionCallback discovery_callback; scoped_ptr<device::MockBluetoothDiscoverySession> discovery_session( |