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 fa70ccd24564319f94e893fef10978d8c7b0d218..52a3aff3f84285e11192147b94f01412f90f484d 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 |
@@ -38,15 +38,15 @@ class BluetoothLowEnergyWeavePacketGenerator { |
static Factory* factory_instance_; |
}; |
- Packet CreateConnectionRequest(); |
- Packet CreateConnectionResponse(); |
- Packet CreateConnectionClose(ReasonForClose reason_for_close); |
+ virtual Packet CreateConnectionRequest(); |
+ virtual Packet CreateConnectionResponse(); |
+ virtual Packet CreateConnectionClose(ReasonForClose reason_for_close); |
// Packet size must be greater than or equal to 20. |
- void SetMaxPacketSize(uint16_t size); |
+ virtual void SetMaxPacketSize(uint16_t size); |
// Will crash if message is empty. |
- std::vector<Packet> EncodeDataMessage(std::string message); |
+ virtual std::vector<Packet> EncodeDataMessage(std::string message); |
protected: |
BluetoothLowEnergyWeavePacketGenerator(); |