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

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

Issue 1983183002: Landing Recent QUIC changes until 5/14/2016 02:25:25 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "first try to fix link error for win_clang build" Created 4 years, 7 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_sent_packet_manager_peer.h ('k') | net/quic/test_tools/quic_session_peer.h » ('j') | 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 8e6ec36c9b9235bfb4c959c9e6f6ba8bb605a1aa..ed5e554b6000874f87b626c5f41aabb035f3f5ae 100644
--- a/net/quic/test_tools/quic_sent_packet_manager_peer.cc
+++ b/net/quic/test_tools/quic_sent_packet_manager_peer.cc
@@ -40,6 +40,12 @@ bool QuicSentPacketManagerPeer::GetUseNewRto(
}
// static
+bool QuicSentPacketManagerPeer::GetUndoRetransmits(
+ QuicSentPacketManager* sent_packet_manager) {
+ return sent_packet_manager->undo_pending_retransmits_;
+}
+
+// static
QuicByteCount QuicSentPacketManagerPeer::GetReceiveWindow(
QuicSentPacketManager* sent_packet_manager) {
return sent_packet_manager->receive_buffer_bytes_;
@@ -79,12 +85,6 @@ void QuicSentPacketManagerPeer::SetLossAlgorithm(
}
// static
-RttStats* QuicSentPacketManagerPeer::GetRttStats(
- QuicSentPacketManager* sent_packet_manager) {
- return &sent_packet_manager->rtt_stats_;
-}
-
-// static
bool QuicSentPacketManagerPeer::HasPendingPackets(
const QuicSentPacketManager* sent_packet_manager) {
return sent_packet_manager->unacked_packets_.HasInFlightPackets();
« no previous file with comments | « net/quic/test_tools/quic_sent_packet_manager_peer.h ('k') | net/quic/test_tools/quic_session_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698