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

Unified Diff: net/quic/quic_framer.h

Issue 11377096: Change from re-transmitting an packet with a retransmit number to sending a new packet with a new s… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_data_writer.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_framer.h
diff --git a/net/quic/quic_framer.h b/net/quic/quic_framer.h
index 7fe95ef0ce48760138412f9ad939123d138a4c48..7bb4a2f0031bf553b9351d797e61dcb20ae20e70 100644
--- a/net/quic/quic_framer.h
+++ b/net/quic/quic_framer.h
@@ -129,7 +129,7 @@ class NET_EXPORT_PRIVATE QuicFramer {
// Creates a new QuicPacket populated with the fields in |header| and
// |frames|. Assigns |*packet| to the address of the new object.
// Returns true upon success.
- bool ConstructFragementDataPacket(const QuicPacketHeader& header,
+ bool ConstructFrameDataPacket(const QuicPacketHeader& header,
const QuicFrames& frames,
QuicPacket** packet);
@@ -140,13 +140,12 @@ class NET_EXPORT_PRIVATE QuicFramer {
const QuicFecData& fec,
QuicPacket** packet);
- // Increments the retransmission count by one, and updates the authentication
- // hash accordingly.
- void IncrementRetransmitCount(QuicPacket* packet);
+ void WriteTransmissionTime(QuicTransmissionTime time, QuicPacket* packet);
- uint8 GetRetransmitCount(QuicPacket* packet);
+ void WriteSequenceNumber(QuicPacketSequenceNumber sequence_number,
+ QuicPacket* packet);
- void WriteTransmissionTime(QuicTransmissionTime time, QuicPacket* packet);
+ void WriteFecGroup(QuicFecGroupNumber fec_group, QuicPacket* packet);
// Returns a new encrypted packet, owned by the caller.
QuicEncryptedPacket* EncryptPacket(const QuicPacket& packet);
« no previous file with comments | « net/quic/quic_data_writer.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698