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

Unified Diff: net/quic/test_tools/quic_connection_peer.cc

Issue 476023002: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0814_2
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 | « net/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_connection_peer.cc
diff --git a/net/quic/test_tools/quic_connection_peer.cc b/net/quic/test_tools/quic_connection_peer.cc
index 6847c1d91f8992635635b78686c5c8ea4f321db6..d1aa8a5cca98ee75dbd09e2e0474427feb7c5134 100644
--- a/net/quic/test_tools/quic_connection_peer.cc
+++ b/net/quic/test_tools/quic_connection_peer.cc
@@ -111,13 +111,11 @@ QuicPacketEntropyHash QuicConnectionPeer::GetSentEntropyHash(
}
// static
-bool QuicConnectionPeer::IsValidEntropy(
+QuicPacketEntropyHash QuicConnectionPeer::PacketEntropy(
QuicConnection* connection,
- QuicPacketSequenceNumber largest_observed,
- const SequenceNumberSet& missing_packets,
- QuicPacketEntropyHash entropy_hash) {
- return connection->sent_entropy_manager_.IsValidEntropy(
- largest_observed, missing_packets, entropy_hash);
+ QuicPacketSequenceNumber sequence_number) {
+ return
+ connection->sent_entropy_manager_.packets_entropy_[sequence_number].first;
}
// static
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698