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

Unified Diff: net/quic/quic_connection.h

Issue 530343003: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0828
Patch Set: Created 6 years, 3 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/congestion_control/tcp_cubic_sender_test.cc ('k') | 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 6bbb84fdfdf058f39eac13c77200d32230c05738..9251c20ef1ce0285afe999fca75104a22a5d9ca1 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -601,9 +601,7 @@ class NET_EXPORT_PRIVATE QuicConnection
void WritePendingRetransmissions();
// Returns true if the packet should be discarded and not sent.
- bool ShouldDiscardPacket(EncryptionLevel level,
- QuicPacketSequenceNumber sequence_number,
- HasRetransmittableData retransmittable);
+ bool ShouldDiscardPacket(const QueuedPacket& packet);
// Queues |packet| in the hopes that it can be decrypted in the
// future, when a new key is installed.
@@ -657,7 +655,7 @@ class NET_EXPORT_PRIVATE QuicConnection
void CheckForAddressMigration(const IPEndPoint& self_address,
const IPEndPoint& peer_address);
- HasRetransmittableData IsRetransmittable(QueuedPacket packet);
+ HasRetransmittableData IsRetransmittable(const QueuedPacket& packet);
bool IsConnectionClose(QueuedPacket packet);
QuicFramer framer_;
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_sender_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698