Send padding if there's nothing to retransmit in Quartc's SendProbingData().
If there is anything to retransmit, Quartc will use it for probing. If not,
Quartc will simply send a packet full of padding. (The latter will be useful
when Quartc only sends datagram frames.)
gfe-relnote: n/a (probing retransmissions only used by Quartc)
PiperOrigin-RevId: 245822135
Change-Id: Ia9ef50ba6cc649fc70530b64031d5ea19fcc9d24
diff --git a/quic/quartc/quartc_session.h b/quic/quartc/quartc_session.h
index 29e6306..9da306e 100644
--- a/quic/quartc/quartc_session.h
+++ b/quic/quartc/quartc_session.h
@@ -67,6 +67,7 @@
bool ShouldKeepConnectionAlive() const override;
void OnCanWrite() override;
+ bool SendProbingData() override;
void OnConnectionClosed(QuicErrorCode error,
const std::string& error_details,