Index: components/proximity_auth/ble/bluetooth_low_energy_weave_packet_generator.h |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_generator.h b/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_generator.h |
index 52a3aff3f84285e11192147b94f01412f90f484d..281badff070a9fc5ac95267db8de948f2d1ed480 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_generator.h |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_weave_packet_generator.h |
@@ -27,7 +27,7 @@ class BluetoothLowEnergyWeavePacketGenerator { |
NewInstance(); |
// Exposed for testing. |
- static void SetInstanceForTesting(Factory* factory); |
+ static void SetInstanceForTesting(std::shared_ptr<Factory> factory); |
protected: |
// Exposed for testing. |
@@ -35,7 +35,7 @@ class BluetoothLowEnergyWeavePacketGenerator { |
BuildInstance(); |
private: |
- static Factory* factory_instance_; |
+ static std::shared_ptr<Factory> factory_instance_; |
}; |
virtual Packet CreateConnectionRequest(); |