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

Unified Diff: net/quic/test_tools/quic_test_utils.h

Issue 2222093002: Add GetDebugState() in SendAlgorithmInterface(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129015386
Patch Set: Created 4 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/core/quic_sent_packet_manager_interface.h ('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_test_utils.h
diff --git a/net/quic/test_tools/quic_test_utils.h b/net/quic/test_tools/quic_test_utils.h
index edf176ee287117fb9f2ac6c219919e8f184c006b..f7d148d0667a52c6e7f1f52a898f62caaf31d2af 100644
--- a/net/quic/test_tools/quic_test_utils.h
+++ b/net/quic/test_tools/quic_test_utils.h
@@ -750,6 +750,7 @@ class MockSendAlgorithm : public SendAlgorithmInterface {
MOCK_METHOD1(OnRttUpdated, void(QuicPacketNumber));
MOCK_CONST_METHOD0(RetransmissionDelay, QuicTime::Delta(void));
MOCK_CONST_METHOD0(GetCongestionWindow, QuicByteCount());
+ MOCK_CONST_METHOD0(GetDebugState, std::string());
MOCK_CONST_METHOD0(InSlowStart, bool());
MOCK_CONST_METHOD0(InRecovery, bool());
MOCK_CONST_METHOD0(GetSlowStartThreshold, QuicByteCount());
@@ -938,6 +939,7 @@ class MockSentPacketManager : public QuicSentPacketManagerInterface {
QuicPacketCount(QuicByteCount));
MOCK_CONST_METHOD0(GetCongestionWindowInBytes, QuicByteCount(void));
MOCK_CONST_METHOD0(GetSlowStartThresholdInTcpMss, QuicPacketCount(void));
+ MOCK_CONST_METHOD0(GetDebugState, std::string());
MOCK_METHOD1(CancelRetransmissionsForStream, void(QuicStreamId));
MOCK_METHOD2(OnConnectionMigration, void(QuicPathId, PeerAddressChangeType));
MOCK_CONST_METHOD0(IsHandshakeConfirmed, bool(void));
« no previous file with comments | « net/quic/core/quic_sent_packet_manager_interface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698