| Index: net/quic/quic_session_test.cc
 | 
| diff --git a/net/quic/quic_session_test.cc b/net/quic/quic_session_test.cc
 | 
| index 1c14c99ba99180029c38a61201420e250207f2e9..96d30b8c5819228d29c5773b63b79c9e93ddeb46 100644
 | 
| --- a/net/quic/quic_session_test.cc
 | 
| +++ b/net/quic/quic_session_test.cc
 | 
| @@ -59,8 +59,6 @@ class TestCryptoStream : public QuicCryptoStream {
 | 
|      handshake_confirmed_ = true;
 | 
|      CryptoHandshakeMessage msg;
 | 
|      string error_details;
 | 
| -    session()->config()->SetInitialFlowControlWindowToSend(
 | 
| -        kInitialSessionFlowControlWindowForTest);
 | 
|      session()->config()->SetInitialStreamFlowControlWindowToSend(
 | 
|          kInitialStreamFlowControlWindowForTest);
 | 
|      session()->config()->SetInitialSessionFlowControlWindowToSend(
 | 
| @@ -188,8 +186,6 @@ class QuicSessionTest : public ::testing::TestWithParam<QuicVersion> {
 | 
|    QuicSessionTest()
 | 
|        : connection_(new MockConnection(true, SupportedVersions(GetParam()))),
 | 
|          session_(connection_) {
 | 
| -    session_.config()->SetInitialFlowControlWindowToSend(
 | 
| -        kInitialSessionFlowControlWindowForTest);
 | 
|      session_.config()->SetInitialStreamFlowControlWindowToSend(
 | 
|          kInitialStreamFlowControlWindowForTest);
 | 
|      session_.config()->SetInitialSessionFlowControlWindowToSend(
 | 
| @@ -661,9 +657,6 @@ TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedStream) {
 | 
|  }
 | 
|  
 | 
|  TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedCryptoStream) {
 | 
| -  if (version() <= QUIC_VERSION_19) {
 | 
| -    return;
 | 
| -  }
 | 
|    // Test that if the crypto stream is flow control blocked, then if the SHLO
 | 
|    // contains a larger send window offset, the stream becomes unblocked.
 | 
|    session_.set_writev_consumes_all_data(true);
 | 
| @@ -709,9 +702,6 @@ TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedCryptoStream) {
 | 
|  }
 | 
|  
 | 
|  TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedHeadersStream) {
 | 
| -  if (version() <= QUIC_VERSION_19) {
 | 
| -    return;
 | 
| -  }
 | 
|    // Test that if the header stream is flow control blocked, then if the SHLO
 | 
|    // contains a larger send window offset, the stream becomes unblocked.
 | 
|    session_.set_writev_consumes_all_data(true);
 | 
| @@ -759,23 +749,6 @@ TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedHeadersStream) {
 | 
|    EXPECT_FALSE(headers_stream->HasBufferedData());
 | 
|  }
 | 
|  
 | 
| -TEST_P(QuicSessionTest, InvalidFlowControlWindowInHandshake) {
 | 
| -  // TODO(rjshade): Remove this test when removing QUIC_VERSION_19.
 | 
| -  // Test that receipt of an invalid (< default) flow control window from
 | 
| -  // the peer results in the connection being torn down.
 | 
| -  if (version() > QUIC_VERSION_19) {
 | 
| -    return;
 | 
| -  }
 | 
| -
 | 
| -  uint32 kInvalidWindow = kMinimumFlowControlSendWindow - 1;
 | 
| -  QuicConfigPeer::SetReceivedInitialFlowControlWindow(session_.config(),
 | 
| -                                                      kInvalidWindow);
 | 
| -
 | 
| -  EXPECT_CALL(*connection_,
 | 
| -              SendConnectionClose(QUIC_FLOW_CONTROL_INVALID_WINDOW)).Times(2);
 | 
| -  session_.OnConfigNegotiated();
 | 
| -}
 | 
| -
 | 
|  TEST_P(QuicSessionTest, ConnectionFlowControlAccountingRstOutOfOrder) {
 | 
|    // Test that when we receive an out of order stream RST we correctly adjust
 | 
|    // our connection level flow control receive window.
 | 
| @@ -820,20 +793,6 @@ TEST_P(QuicSessionTest, ConnectionFlowControlAccountingFinAndLocalReset) {
 | 
|    EXPECT_EQ(kByteOffset,
 | 
|              stream->flow_controller()->highest_received_byte_offset());
 | 
|  
 | 
| -  // We only expect to see a connection WINDOW_UPDATE when talking
 | 
| -  // QUIC_VERSION_19, as in this case both stream and session flow control
 | 
| -  // windows are the same size. In later versions we will not see a connection
 | 
| -  // level WINDOW_UPDATE when exhausting a stream, as the stream flow control
 | 
| -  // limit is much lower than the connection flow control limit.
 | 
| -  if (version() == QUIC_VERSION_19) {
 | 
| -    // Expect no stream WINDOW_UPDATE frames, as stream read side closed.
 | 
| -    EXPECT_CALL(*connection_, SendWindowUpdate(stream->id(), _)).Times(0);
 | 
| -    // We do expect a connection level WINDOW_UPDATE when the stream is reset.
 | 
| -    EXPECT_CALL(*connection_,
 | 
| -                SendWindowUpdate(0, kInitialSessionFlowControlWindowForTest +
 | 
| -                                        kByteOffset)).Times(1);
 | 
| -  }
 | 
| -
 | 
|    // Reset stream locally.
 | 
|    stream->Reset(QUIC_STREAM_CANCELLED);
 | 
|    EXPECT_EQ(kByteOffset, session_.flow_controller()->bytes_consumed());
 | 
| @@ -914,10 +873,6 @@ TEST_P(QuicSessionTest, ConnectionFlowControlAccountingRstAfterRst) {
 | 
|  TEST_P(QuicSessionTest, InvalidStreamFlowControlWindowInHandshake) {
 | 
|    // Test that receipt of an invalid (< default) stream flow control window from
 | 
|    // the peer results in the connection being torn down.
 | 
| -  if (version() <= QUIC_VERSION_19) {
 | 
| -    return;
 | 
| -  }
 | 
| -
 | 
|    uint32 kInvalidWindow = kMinimumFlowControlSendWindow - 1;
 | 
|    QuicConfigPeer::SetReceivedInitialStreamFlowControlWindow(session_.config(),
 | 
|                                                              kInvalidWindow);
 | 
| @@ -930,10 +885,6 @@ TEST_P(QuicSessionTest, InvalidStreamFlowControlWindowInHandshake) {
 | 
|  TEST_P(QuicSessionTest, InvalidSessionFlowControlWindowInHandshake) {
 | 
|    // Test that receipt of an invalid (< default) session flow control window
 | 
|    // from the peer results in the connection being torn down.
 | 
| -  if (version() == QUIC_VERSION_19) {
 | 
| -    return;
 | 
| -  }
 | 
| -
 | 
|    uint32 kInvalidWindow = kMinimumFlowControlSendWindow - 1;
 | 
|    QuicConfigPeer::SetReceivedInitialSessionFlowControlWindow(session_.config(),
 | 
|                                                               kInvalidWindow);
 | 
| @@ -968,9 +919,6 @@ TEST_P(QuicSessionTest, FlowControlWithInvalidFinalOffset) {
 | 
|  TEST_P(QuicSessionTest, WindowUpdateUnblocksHeadersStream) {
 | 
|    // Test that a flow control blocked headers stream gets unblocked on recipt of
 | 
|    // a WINDOW_UPDATE frame. Regression test for b/17413860.
 | 
| -  if (version() < QUIC_VERSION_21) {
 | 
| -    return;
 | 
| -  }
 | 
|  
 | 
|    // Set the headers stream to be flow control blocked.
 | 
|    QuicHeadersStream* headers_stream =
 | 
| 
 |