Index: components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h |
diff --git a/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h |
index 8bb24131e5bc4089a19e8a25d56d1ef8e046a9d9..ec8dfac0ee2fbbe4487bf4888d599af86ada38c7 100644 |
--- a/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h |
+++ b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h |
@@ -55,8 +55,7 @@ class BluetoothLowEnergyWeaveClientConnection |
public: |
class Factory { |
public: |
- static std::unique_ptr<BluetoothLowEnergyWeaveClientConnection> |
- NewInstance( |
+ static std::unique_ptr<Connection> NewInstance( |
const RemoteDevice& remote_device, |
const std::string& device_address, |
scoped_refptr<device::BluetoothAdapter> adapter, |
@@ -68,8 +67,7 @@ class BluetoothLowEnergyWeaveClientConnection |
protected: |
// Exposed for testing. |
- virtual std::unique_ptr<BluetoothLowEnergyWeaveClientConnection> |
- BuildInstance( |
+ virtual std::unique_ptr<Connection> BuildInstance( |
const RemoteDevice& remote_device, |
const std::string& device_address, |
scoped_refptr<device::BluetoothAdapter> adapter, |