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

Unified Diff: net/quic/quic_connection.h

Issue 1502503002: Move encryption_level from QueuedPacket into SerializedPacket. No functional change. Not flag pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@108718393
Patch Set: Created 5 years 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 a206e8c869f1d33f31166e54ea85d5d36e593caf..971ec01bcf70736ac07a93ceca89fdb7d4726af7 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -156,7 +156,6 @@ class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor
// Called when a packet has been sent.
virtual void OnPacketSent(const SerializedPacket& serialized_packet,
QuicPacketNumber original_packet_number,
- EncryptionLevel level,
TransmissionType transmission_type,
size_t encrypted_length,
QuicTime sent_time) {}
@@ -633,15 +632,12 @@ class NET_EXPORT_PRIVATE QuicConnection
protected:
// Packets which have not been written to the wire.
struct QueuedPacket {
+ explicit QueuedPacket(SerializedPacket packet);
QueuedPacket(SerializedPacket packet,
- EncryptionLevel level);
- QueuedPacket(SerializedPacket packet,
- EncryptionLevel level,
TransmissionType transmission_type,
QuicPacketNumber original_packet_number);
SerializedPacket serialized_packet;
- const EncryptionLevel encryption_level;
TransmissionType transmission_type;
// The packet's original packet number if it is a retransmission.
// Otherwise it must be 0.
« 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