Index: net/quic/quic_packet_creator.h |
diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h |
index a43d027610c35a3531ca732f6da1d61b3cfafcb8..fc76f5b96f26b3d43cdfdd03488696b7b98bd8a1 100644 |
--- a/net/quic/quic_packet_creator.h |
+++ b/net/quic/quic_packet_creator.h |
@@ -165,6 +165,9 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface { |
QuicEncryptedPacket* SerializeVersionNegotiationPacket( |
const QuicVersionVector& supported_versions); |
+ // Returns a dummy packet that is valid but contains no useful information. |
+ static SerializedPacket NoPacket(); |
+ |
// Sets the encryption level that will be applied to new packets. |
void set_encryption_level(EncryptionLevel level) { |
encryption_level_ = level; |