Index: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
index 2a916caafece4280f5da92965cc4de391c2cbda9..91ee6ec99a9f2d3986324f5b7206d6bb6c35a4c2 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
@@ -126,7 +126,7 @@ class BluetoothLowEnergyConnectionFinder |
void InvokeCallbackAsync(); |
// Returns the device with |device_address|. |
- device::BluetoothDevice* GetDevice(std::string device_address); |
+ device::BluetoothDevice* GetDevice(const std::string& device_address); |
// The remote BLE device being searched. It maybe empty, in this case the |
// remote device should advertise |remote_service_uuid_| and |