| 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/tools/quic/quic_simple_server_session.h" | 5 #include "net/tools/quic/quic_simple_server_session.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "net/quic/test_tools/quic_spdy_stream_peer.h" | 23 #include "net/quic/test_tools/quic_spdy_stream_peer.h" |
| 24 #include "net/quic/test_tools/quic_sustained_bandwidth_recorder_peer.h" | 24 #include "net/quic/test_tools/quic_sustained_bandwidth_recorder_peer.h" |
| 25 #include "net/quic/test_tools/quic_test_utils.h" | 25 #include "net/quic/test_tools/quic_test_utils.h" |
| 26 #include "net/test/gtest_util.h" | 26 #include "net/test/gtest_util.h" |
| 27 #include "net/tools/quic/quic_simple_server_stream.h" | 27 #include "net/tools/quic/quic_simple_server_stream.h" |
| 28 #include "net/tools/quic/test_tools/mock_quic_server_session_visitor.h" | 28 #include "net/tools/quic/test_tools/mock_quic_server_session_visitor.h" |
| 29 #include "net/tools/quic/test_tools/quic_in_memory_cache_peer.h" | 29 #include "net/tools/quic/test_tools/quic_in_memory_cache_peer.h" |
| 30 #include "testing/gmock/include/gmock/gmock.h" | 30 #include "testing/gmock/include/gmock/gmock.h" |
| 31 #include "testing/gtest/include/gtest/gtest.h" | 31 #include "testing/gtest/include/gtest/gtest.h" |
| 32 | 32 |
| 33 using __gnu_cxx::vector; | |
| 34 using net::test::CryptoTestUtils; | 33 using net::test::CryptoTestUtils; |
| 35 using net::test::MockConnection; | 34 using net::test::MockConnection; |
| 36 using net::test::MockConnectionHelper; | 35 using net::test::MockConnectionHelper; |
| 37 using net::test::QuicConfigPeer; | 36 using net::test::QuicConfigPeer; |
| 38 using net::test::QuicConnectionPeer; | 37 using net::test::QuicConnectionPeer; |
| 39 using net::test::QuicSpdyStreamPeer; | 38 using net::test::QuicSpdyStreamPeer; |
| 40 using net::test::QuicSentPacketManagerPeer; | 39 using net::test::QuicSentPacketManagerPeer; |
| 41 using net::test::QuicSessionPeer; | 40 using net::test::QuicSessionPeer; |
| 42 using net::test::QuicSpdySessionPeer; | 41 using net::test::QuicSpdySessionPeer; |
| 43 using net::test::QuicSustainedBandwidthRecorderPeer; | 42 using net::test::QuicSustainedBandwidthRecorderPeer; |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 .WillOnce(Return(QuicConsumedData(0, false))); | 494 .WillOnce(Return(QuicConsumedData(0, false))); |
| 496 | 495 |
| 497 QuicRstStreamFrame rst(stream_got_reset, QUIC_STREAM_CANCELLED, 0); | 496 QuicRstStreamFrame rst(stream_got_reset, QUIC_STREAM_CANCELLED, 0); |
| 498 visitor_->OnRstStream(rst); | 497 visitor_->OnRstStream(rst); |
| 499 } | 498 } |
| 500 | 499 |
| 501 } // namespace | 500 } // namespace |
| 502 } // namespace test | 501 } // namespace test |
| 503 } // namespace tools | 502 } // namespace tools |
| 504 } // namespace net | 503 } // namespace net |
| OLD | NEW |