summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_packet_generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_packet_generator.h')
-rw-r--r--net/quic/quic_packet_generator.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/quic/quic_packet_generator.h b/net/quic/quic_packet_generator.h
index e1ea1e8..7bd880e 100644
--- a/net/quic/quic_packet_generator.h
+++ b/net/quic/quic_packet_generator.h
@@ -115,9 +115,12 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator {
bool InBatchMode();
// Disables flushing.
void StartBatchOperations();
- // Enables flushing and flushes queued data.
+ // Enables flushing and flushes queued data which can be sent.
void FinishBatchOperations();
+ // Flushes all queued frames, even frames which are not sendable.
+ void FlushAllQueuedFrames();
+
bool HasQueuedFrames() const;
void set_debug_delegate(DebugDelegateInterface* debug_delegate) {
@@ -125,7 +128,7 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator {
}
private:
- void SendQueuedFrames();
+ void SendQueuedFrames(bool flush);
// Test to see if we have pending ack, feedback, or control frames.
bool HasPendingFrames() const;