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

Unified Diff: net/quic/quic_protocol.cc

Issue 1667003002: Replace QuicEncryptedPacket's fields with equivalents in SerializedPacket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113395732
Patch Set: Created 4 years, 11 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_protocol.h ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.cc
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
index c5b76011277448345dbad966b8ba06414d3c3f47..7cfa8b97443e2d2de9061d2193ce8f722061a800 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -733,11 +733,13 @@ AckListenerWrapper::~AckListenerWrapper() {}
SerializedPacket::SerializedPacket(QuicPathId path_id,
QuicPacketNumber packet_number,
QuicPacketNumberLength packet_number_length,
- QuicEncryptedPacket* packet,
+ const char* encrypted_buffer,
+ QuicPacketLength encrypted_length,
QuicPacketEntropyHash entropy_hash,
bool has_ack,
bool has_stop_waiting)
- : packet(packet),
+ : encrypted_buffer(encrypted_buffer),
+ encrypted_length(encrypted_length),
has_crypto_handshake(NOT_HANDSHAKE),
needs_padding(false),
path_id(path_id),
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698