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

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

Issue 188273003: QUIC refactor to move the pending_crypto_packet_count_ from the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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_unacked_packet_map.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_sent_packet_manager_peer.cc
diff --git a/net/quic/test_tools/quic_sent_packet_manager_peer.cc b/net/quic/test_tools/quic_sent_packet_manager_peer.cc
index be8730f43495f543b6b971d254f08f6cc84dbc83..44b1b9046939909cd7063cb03a389848f0f3ada8 100644
--- a/net/quic/test_tools/quic_sent_packet_manager_peer.cc
+++ b/net/quic/test_tools/quic_sent_packet_manager_peer.cc
@@ -97,7 +97,7 @@ QuicTime::Delta QuicSentPacketManagerPeer::GetRetransmissionDelay(
// static
bool QuicSentPacketManagerPeer::HasUnackedCryptoPackets(
const QuicSentPacketManager* sent_packet_manager) {
- return sent_packet_manager->pending_crypto_packet_count_ > 0;
+ return sent_packet_manager->unacked_packets_.HasPendingCryptoPackets();
}
// static
« no previous file with comments | « net/quic/quic_unacked_packet_map.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698