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

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

Issue 1037643002: Land Recent QUIC Changes until 03/22/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deleted duplicated using statements in net/tools/quic/test_tools/quic_test_utils.cc Created 5 years, 9 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_time_wait_list_manager.cc ('k') | net/quic/test_tools/rtt_stats_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_test_utils.h
diff --git a/net/quic/test_tools/quic_test_utils.h b/net/quic/test_tools/quic_test_utils.h
index 3d5dd0575110dad759f78a4dca40222df3924b28..edc7b9c87bc4caf120381f49f07ce38f7349544f 100644
--- a/net/quic/test_tools/quic_test_utils.h
+++ b/net/quic/test_tools/quic_test_utils.h
@@ -338,7 +338,8 @@ class MockConnection : public QuicConnection {
MOCK_METHOD0(OnCanWrite, void());
MOCK_METHOD1(OnSendConnectionState, void(const CachedNetworkParameters&));
- MOCK_METHOD1(ResumeConnectionState, bool(const CachedNetworkParameters&));
+ MOCK_METHOD2(ResumeConnectionState,
+ bool(const CachedNetworkParameters&, bool));
void ReallyProcessUdpPacket(const IPEndPoint& self_address,
const IPEndPoint& peer_address,
@@ -477,7 +478,8 @@ class MockSendAlgorithm : public SendAlgorithmInterface {
Perspective perspective,
bool using_pacing));
MOCK_METHOD1(SetNumEmulatedConnections, void(int num_connections));
- MOCK_METHOD1(SetMaxPacketSize, void(QuicByteCount max_packet_size));
+ MOCK_METHOD1(SetMaxCongestionWindow,
+ void(QuicByteCount max_congestion_window));
MOCK_METHOD4(OnCongestionEvent, void(bool rtt_updated,
QuicByteCount bytes_in_flight,
const CongestionVector& acked_packets,
@@ -501,7 +503,8 @@ class MockSendAlgorithm : public SendAlgorithmInterface {
MOCK_CONST_METHOD0(InRecovery, bool());
MOCK_CONST_METHOD0(GetSlowStartThreshold, QuicByteCount());
MOCK_CONST_METHOD0(GetCongestionControlType, CongestionControlType());
- MOCK_METHOD1(ResumeConnectionState, bool(const CachedNetworkParameters&));
+ MOCK_METHOD2(ResumeConnectionState,
+ bool(const CachedNetworkParameters&, bool));
private:
DISALLOW_COPY_AND_ASSIGN(MockSendAlgorithm);
« no previous file with comments | « net/quic/quic_time_wait_list_manager.cc ('k') | net/quic/test_tools/rtt_stats_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698