| Index: net/quic/quic_connection_test.cc
|
| diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
|
| index 829de8620484f2b72ecc6435d5eef879c533e709..d4ee2b3e0b45faff4852b6d72c991754f9566c91 100644
|
| --- a/net/quic/quic_connection_test.cc
|
| +++ b/net/quic/quic_connection_test.cc
|
| @@ -3619,7 +3619,7 @@ TEST_P(QuicConnectionTest, AckNotifierTriggerCallback) {
|
|
|
| // Create a delegate which we expect to be called.
|
| scoped_refptr<MockAckNotifierDelegate> delegate(new MockAckNotifierDelegate);
|
| - EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _)).Times(1);
|
| + EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _, _)).Times(1);
|
|
|
| // Send some data, which will register the delegate to be notified.
|
| connection_.SendStreamDataWithString(1, "foo", 0, !kFin, delegate.get());
|
| @@ -3636,7 +3636,7 @@ TEST_P(QuicConnectionTest, AckNotifierFailToTriggerCallback) {
|
|
|
| // Create a delegate which we don't expect to be called.
|
| scoped_refptr<MockAckNotifierDelegate> delegate(new MockAckNotifierDelegate);
|
| - EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _)).Times(0);
|
| + EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _, _)).Times(0);
|
|
|
| EXPECT_CALL(*send_algorithm_, UpdateRtt(_));
|
| EXPECT_CALL(*send_algorithm_, OnPacketAcked(_, _)).Times(2);
|
| @@ -3667,7 +3667,7 @@ TEST_P(QuicConnectionTest, AckNotifierCallbackAfterRetransmission) {
|
|
|
| // Create a delegate which we expect to be called.
|
| scoped_refptr<MockAckNotifierDelegate> delegate(new MockAckNotifierDelegate);
|
| - EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _)).Times(1);
|
| + EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _, _)).Times(1);
|
|
|
| // Send four packets, and register to be notified on ACK of packet 2.
|
| connection_.SendStreamDataWithString(3, "foo", 0, !kFin, NULL);
|
| @@ -3729,7 +3729,7 @@ TEST_P(QuicConnectionTest, AckNotifierCallbackForAckAfterRTO) {
|
| // Ack the original packet.
|
| EXPECT_CALL(visitor_, OnSuccessfulVersionNegotiation(_));
|
| EXPECT_CALL(*send_algorithm_, UpdateRtt(_));
|
| - EXPECT_CALL(*delegate, OnAckNotification(1, _, 1, _));
|
| + EXPECT_CALL(*delegate, OnAckNotification(1, _, 1, _, _));
|
| QuicAckFrame ack_frame = InitAckFrame(1, 0);
|
| ProcessAckPacket(&ack_frame);
|
|
|
| @@ -3775,7 +3775,7 @@ TEST_P(QuicConnectionTest, AckNotifierCallbackForAckOfNackedPacket) {
|
|
|
| // Now we get an ACK for packet 2, which was previously nacked.
|
| SequenceNumberSet no_lost_packets;
|
| - EXPECT_CALL(*delegate, OnAckNotification(1, _, 1, _));
|
| + EXPECT_CALL(*delegate, OnAckNotification(1, _, 1, _, _));
|
| EXPECT_CALL(*loss_algorithm_, DetectLostPackets(_, _, _, _))
|
| .WillOnce(Return(no_lost_packets));
|
| QuicAckFrame second_ack_frame = InitAckFrame(4, 0);
|
| @@ -3802,7 +3802,7 @@ TEST_P(QuicConnectionTest, AckNotifierCallbackAfterFECRecovery) {
|
|
|
| // Create a delegate which we expect to be called.
|
| scoped_refptr<MockAckNotifierDelegate> delegate(new MockAckNotifierDelegate);
|
| - EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _)).Times(1);
|
| + EXPECT_CALL(*delegate, OnAckNotification(_, _, _, _, _)).Times(1);
|
|
|
| // Expect ACKs for 1 packet.
|
| EXPECT_CALL(*send_algorithm_, UpdateRtt(_));
|
|
|