Index: net/quic/reliable_quic_stream_test.cc |
diff --git a/net/quic/reliable_quic_stream_test.cc b/net/quic/reliable_quic_stream_test.cc |
index 73973ffc4671b2204c6f76a2ff9e65a41d37a0b0..10656c722f027ae34a7892276d19c9119142420a 100644 |
--- a/net/quic/reliable_quic_stream_test.cc |
+++ b/net/quic/reliable_quic_stream_test.cc |
@@ -604,8 +604,8 @@ TEST_F(ReliableQuicStreamTest, |
stream_->flow_controller())); |
// Stream should not accept the frame, and the connection should be closed. |
- EXPECT_CALL(*connection_, |
- SendConnectionClose(QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA)); |
+ EXPECT_CALL(*connection_, SendConnectionCloseWithDetails( |
+ QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA, _)); |
stream_->OnStreamFrame(frame); |
} |
@@ -617,8 +617,8 @@ TEST_F(ReliableQuicStreamTest, StopReadingSendsFlowControl) { |
stream_->StopReading(); |
// Connection should not get terminated due to flow control errors. |
- EXPECT_CALL(*connection_, |
- SendConnectionClose(QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA)) |
+ EXPECT_CALL(*connection_, SendConnectionCloseWithDetails( |
+ QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA, _)) |
.Times(0); |
EXPECT_CALL(*connection_, SendWindowUpdate(_, _)).Times(AtLeast(1)); |
@@ -729,7 +729,7 @@ TEST_F(ReliableQuicStreamTest, EarlyResponseFinHandling) { |
// the request, the received FIN is recorded. |
Initialize(kShouldProcessData); |
- EXPECT_CALL(*connection_, SendConnectionClose(_)).Times(0); |
+ EXPECT_CALL(*connection_, SendConnectionCloseWithDetails(_, _)).Times(0); |
EXPECT_CALL(*session_, WritevData(_, _, _, _, _, _)) |
.WillRepeatedly(Invoke(MockQuicSpdySession::ConsumeAllData)); |