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

Unified Diff: net/quic/quic_connection.h

Issue 509203003: Nest a QUIC SerializedPacket inside a QUIC QueuedPacket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_PacketType_74148481
Patch Set: Created 6 years, 4 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 | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 29605b88329d6ca8410748f5b70d99ed9497d932..3b84205474ba04570272dd52cd1c9b526af8d582 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -564,14 +564,9 @@ class NET_EXPORT_PRIVATE QuicConnection
EncryptionLevel level,
TransmissionType transmission_type);
- QuicPacketSequenceNumber sequence_number;
- QuicPacket* packet;
+ SerializedPacket serialized_packet;
const EncryptionLevel encryption_level;
TransmissionType transmission_type;
- HasRetransmittableData retransmittable;
- IsHandshake handshake;
- bool is_connection_close;
- QuicByteCount length;
};
typedef std::list<QueuedPacket> QueuedPacketList;
@@ -662,6 +657,9 @@ class NET_EXPORT_PRIVATE QuicConnection
void CheckForAddressMigration(const IPEndPoint& self_address,
const IPEndPoint& peer_address);
+ HasRetransmittableData IsRetransmittable(QueuedPacket packet);
+ bool IsConnectionClose(QueuedPacket packet);
+
QuicFramer framer_;
QuicConnectionHelperInterface* helper_; // Not owned.
QuicPacketWriter* writer_; // Owned or not depending on |owns_writer_|.
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698