Index: net/quic/quic_connection_test.cc |
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc |
index 0a047748ead37d2b94f2365da4ff12661ba07361..dd0f9a2c5498d66a4faf7109923eeb9847cc23b2 100644 |
--- a/net/quic/quic_connection_test.cc |
+++ b/net/quic/quic_connection_test.cc |
@@ -2873,7 +2873,7 @@ TEST_P(QuicConnectionTest, DelayForwardSecureEncryptionUntilManyPacketSent) { |
TEST_P(QuicConnectionTest, BufferNonDecryptablePackets) { |
// SetFromConfig is always called after construction from InitializeSession. |
- EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _, _)); |
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)); |
QuicConfig config; |
connection_.SetFromConfig(config); |
EXPECT_CALL(visitor_, OnSuccessfulVersionNegotiation(_)); |
@@ -2903,7 +2903,7 @@ TEST_P(QuicConnectionTest, BufferNonDecryptablePackets) { |
TEST_P(QuicConnectionTest, Buffer100NonDecryptablePackets) { |
// SetFromConfig is always called after construction from InitializeSession. |
- EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _, _)); |
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)); |
QuicConfig config; |
config.set_max_undecryptable_packets(100); |
connection_.SetFromConfig(config); |
@@ -3051,7 +3051,7 @@ TEST_P(QuicConnectionTest, InitialTimeout) { |
EXPECT_FALSE(connection_.GetTimeoutAlarm()->IsSet()); |
// SetFromConfig sets the initial timeouts before negotiation. |
- EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _, _)); |
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)); |
QuicConfig config; |
connection_.SetFromConfig(config); |
// Subtract a second from the idle timeout on the client side. |
@@ -3163,7 +3163,7 @@ TEST_P(QuicConnectionTest, PingAfterSend) { |
TEST_P(QuicConnectionTest, TimeoutAfterSend) { |
EXPECT_TRUE(connection_.connected()); |
- EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _, _)); |
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)); |
QuicConfig config; |
connection_.SetFromConfig(config); |
EXPECT_FALSE(QuicConnectionPeer::IsSilentCloseEnabled(&connection_)); |
@@ -3205,7 +3205,7 @@ TEST_P(QuicConnectionTest, TimeoutAfterSendSilentClose) { |
// Same test as above, but complete a handshake which enables silent close, |
// causing no connection close packet to be sent. |
EXPECT_TRUE(connection_.connected()); |
- EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _, _)); |
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)); |
QuicConfig config; |
// Create a handshake message that also enables silent close. |
@@ -3322,7 +3322,7 @@ TEST_P(QuicConnectionTest, LoopThroughSendingPackets) { |
TEST_P(QuicConnectionTest, LoopThroughSendingPacketsWithTruncation) { |
// Set up a larger payload than will fit in one packet. |
const string payload(connection_.max_packet_length(), 'a'); |
- EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _, _)).Times(AnyNumber()); |
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)).Times(AnyNumber()); |
// Now send some packets with no truncation. |
EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)).Times(2); |
@@ -4334,7 +4334,7 @@ TEST_P(QuicConnectionTest, NetworkChangeVisitorConfigCallbackChangesFecState) { |
// Verify that sending a config with a new initial rtt changes fec timeout. |
// Create and process a config with a non-zero initial RTT. |
- EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _, _)); |
+ EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)); |
QuicConfig config; |
config.SetInitialRoundTripTimeUsToSend(300000); |
connection_.SetFromConfig(config); |