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

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

Issue 2229023002: Track when QUIC connections are application limited. Protected by quic_enable_app_limited_check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129327247
Patch Set: git pull upper stream 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_session_test.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_test_utils.h
diff --git a/net/quic/test_tools/quic_test_utils.h b/net/quic/test_tools/quic_test_utils.h
index fb5ed36b6a57616b40ea21f11c182ca98ec2d7c8..d1883ae9caf9dc5d03e0d6b9d294e4873480f37a 100644
--- a/net/quic/test_tools/quic_test_utils.h
+++ b/net/quic/test_tools/quic_test_utils.h
@@ -760,6 +760,7 @@ class MockSendAlgorithm : public SendAlgorithmInterface {
MOCK_CONST_METHOD0(GetCongestionControlType, CongestionControlType());
MOCK_METHOD2(ResumeConnectionState,
void(const CachedNetworkParameters&, bool));
+ MOCK_METHOD1(OnApplicationLimited, void(QuicByteCount));
private:
DISALLOW_COPY_AND_ASSIGN(MockSendAlgorithm);
@@ -954,6 +955,7 @@ class MockSentPacketManager : public QuicSentPacketManagerInterface {
MOCK_CONST_METHOD0(InSlowStart, bool(void));
MOCK_CONST_METHOD0(GetConsecutiveRtoCount, size_t(void));
MOCK_CONST_METHOD0(GetConsecutiveTlpCount, size_t(void));
+ MOCK_METHOD0(OnApplicationLimited, void(void));
};
class MockConnectionCloseDelegate
« no previous file with comments | « net/quic/core/quic_session_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698