| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/quic_stream_factory.h" | 5 #include "net/quic/quic_stream_factory.h" |
| 6 | 6 |
| 7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "net/base/mock_host_resolver.h" | 9 #include "net/dns/mock_host_resolver.h" |
| 10 #include "net/http/http_response_headers.h" | 10 #include "net/http/http_response_headers.h" |
| 11 #include "net/http/http_response_info.h" | 11 #include "net/http/http_response_info.h" |
| 12 #include "net/http/http_util.h" | 12 #include "net/http/http_util.h" |
| 13 #include "net/quic/crypto/quic_decrypter.h" | 13 #include "net/quic/crypto/quic_decrypter.h" |
| 14 #include "net/quic/crypto/quic_encrypter.h" | 14 #include "net/quic/crypto/quic_encrypter.h" |
| 15 #include "net/quic/quic_http_stream.h" | 15 #include "net/quic/quic_http_stream.h" |
| 16 #include "net/quic/test_tools/mock_clock.h" | 16 #include "net/quic/test_tools/mock_clock.h" |
| 17 #include "net/quic/test_tools/mock_random.h" | 17 #include "net/quic/test_tools/mock_random.h" |
| 18 #include "net/quic/test_tools/quic_test_utils.h" | 18 #include "net/quic/test_tools/quic_test_utils.h" |
| 19 #include "net/socket/socket_test_util.h" | 19 #include "net/socket/socket_test_util.h" |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 stream.reset(); // Will reset stream 3. | 303 stream.reset(); // Will reset stream 3. |
| 304 | 304 |
| 305 EXPECT_TRUE(socket_data.at_read_eof()); | 305 EXPECT_TRUE(socket_data.at_read_eof()); |
| 306 EXPECT_TRUE(socket_data.at_write_eof()); | 306 EXPECT_TRUE(socket_data.at_write_eof()); |
| 307 EXPECT_TRUE(socket_data2.at_read_eof()); | 307 EXPECT_TRUE(socket_data2.at_read_eof()); |
| 308 EXPECT_TRUE(socket_data2.at_write_eof()); | 308 EXPECT_TRUE(socket_data2.at_write_eof()); |
| 309 } | 309 } |
| 310 | 310 |
| 311 } // namespace test | 311 } // namespace test |
| 312 } // namespace net | 312 } // namespace net |
| OLD | NEW |