summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_framer.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_framer.h')
-rw-r--r--net/quic/quic_framer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/quic/quic_framer.h b/net/quic/quic_framer.h
index 94b77b1..e2556df 100644
--- a/net/quic/quic_framer.h
+++ b/net/quic/quic_framer.h
@@ -251,8 +251,10 @@ class NET_EXPORT_PRIVATE QuicFramer {
// Returns the number of bytes added to the packet for the specified frame,
// and 0 if the frame doesn't fit. Includes the header size for the first
// frame.
- size_t GetSerializedFrameLength(
- const QuicFrame& frame, size_t free_bytes, bool first_frame);
+ size_t GetSerializedFrameLength(const QuicFrame& frame,
+ size_t free_bytes,
+ bool first_frame,
+ bool last_frame);
// Returns the associated data from the encrypted packet |encrypted| as a
// stringpiece.