| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/quic/core/quic_server_session_base.h" | 5 #include "net/quic/core/quic_server_session_base.h" |
| 6 | 6 |
| 7 #include <cstdint> | 7 #include <cstdint> |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 using net::test::MockQuicConnection; | 33 using net::test::MockQuicConnection; |
| 34 using net::test::MockQuicConnectionHelper; | 34 using net::test::MockQuicConnectionHelper; |
| 35 using net::test::QuicConfigPeer; | 35 using net::test::QuicConfigPeer; |
| 36 using net::test::QuicConnectionPeer; | 36 using net::test::QuicConnectionPeer; |
| 37 using net::test::QuicSpdyStreamPeer; | 37 using net::test::QuicSpdyStreamPeer; |
| 38 using net::test::QuicSentPacketManagerPeer; | 38 using net::test::QuicSentPacketManagerPeer; |
| 39 using net::test::QuicSessionPeer; | 39 using net::test::QuicSessionPeer; |
| 40 using net::test::QuicSpdySessionPeer; | 40 using net::test::QuicSpdySessionPeer; |
| 41 using net::test::QuicSustainedBandwidthRecorderPeer; | 41 using net::test::QuicSustainedBandwidthRecorderPeer; |
| 42 using net::test::SupportedVersions; | 42 using net::test::SupportedVersions; |
| 43 using net::test::ValueRestore; | |
| 44 using net::test::kClientDataStreamId1; | 43 using net::test::kClientDataStreamId1; |
| 45 using net::test::kClientDataStreamId2; | 44 using net::test::kClientDataStreamId2; |
| 46 using net::test::kClientDataStreamId3; | 45 using net::test::kClientDataStreamId3; |
| 47 using net::test::kInitialSessionFlowControlWindowForTest; | 46 using net::test::kInitialSessionFlowControlWindowForTest; |
| 48 using net::test::kInitialStreamFlowControlWindowForTest; | 47 using net::test::kInitialStreamFlowControlWindowForTest; |
| 49 using std::string; | 48 using std::string; |
| 50 using testing::StrictMock; | 49 using testing::StrictMock; |
| 51 using testing::_; | 50 using testing::_; |
| 52 | 51 |
| 53 namespace net { | 52 namespace net { |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 EXPECT_FALSE( | 555 EXPECT_FALSE( |
| 557 QuicServerSessionBasePeer::IsBandwidthResumptionEnabled(session_.get())); | 556 QuicServerSessionBasePeer::IsBandwidthResumptionEnabled(session_.get())); |
| 558 session_->OnConfigNegotiated(); | 557 session_->OnConfigNegotiated(); |
| 559 EXPECT_FALSE( | 558 EXPECT_FALSE( |
| 560 QuicServerSessionBasePeer::IsBandwidthResumptionEnabled(session_.get())); | 559 QuicServerSessionBasePeer::IsBandwidthResumptionEnabled(session_.get())); |
| 561 } | 560 } |
| 562 | 561 |
| 563 } // namespace | 562 } // namespace |
| 564 } // namespace test | 563 } // namespace test |
| 565 } // namespace net | 564 } // namespace net |
| OLD | NEW |