Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1576)

Unified Diff: net/quic/quic_protocol.h

Issue 989743003: Change the null value for packet sequence numbers to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_fec_group_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index 7d33a8a437b21611974ba9fd1365382fcc7a7212..b01abea9d08697f783ea9164ef9920dd7d1ea62e 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -592,6 +592,9 @@ struct NET_EXPORT_PRIVATE QuicPacketPublicHeader {
QuicVersionVector versions;
};
+// An integer which cannot be a packet sequence number.
+const QuicPacketSequenceNumber kInvalidPacketSequenceNumber = 0;
+
// Header for Data or FEC packets.
struct NET_EXPORT_PRIVATE QuicPacketHeader {
QuicPacketHeader();
« no previous file with comments | « net/quic/quic_fec_group_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698