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 <memory> | 5 #include <memory> |
6 #include <ostream> | 6 #include <ostream> |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "net/http/http_transaction_test_util.h" | 30 #include "net/http/http_transaction_test_util.h" |
31 #include "net/http/transport_security_state.h" | 31 #include "net/http/transport_security_state.h" |
32 #include "net/log/net_log_event_type.h" | 32 #include "net/log/net_log_event_type.h" |
33 #include "net/log/test_net_log.h" | 33 #include "net/log/test_net_log.h" |
34 #include "net/log/test_net_log_entry.h" | 34 #include "net/log/test_net_log_entry.h" |
35 #include "net/log/test_net_log_util.h" | 35 #include "net/log/test_net_log_util.h" |
36 #include "net/proxy/proxy_config_service_fixed.h" | 36 #include "net/proxy/proxy_config_service_fixed.h" |
37 #include "net/proxy/proxy_resolver.h" | 37 #include "net/proxy/proxy_resolver.h" |
38 #include "net/proxy/proxy_service.h" | 38 #include "net/proxy/proxy_service.h" |
39 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 39 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
| 40 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" |
40 #include "net/quic/chromium/mock_network_change_notifier.h" | 41 #include "net/quic/chromium/mock_network_change_notifier.h" |
41 #include "net/quic/chromium/mock_quic_data.h" | 42 #include "net/quic/chromium/mock_quic_data.h" |
| 43 #include "net/quic/chromium/quic_http_utils.h" |
| 44 #include "net/quic/chromium/quic_test_packet_maker.h" |
42 #include "net/quic/core/crypto/quic_decrypter.h" | 45 #include "net/quic/core/crypto/quic_decrypter.h" |
43 #include "net/quic/core/crypto/quic_encrypter.h" | 46 #include "net/quic/core/crypto/quic_encrypter.h" |
44 #include "net/quic/core/quic_framer.h" | 47 #include "net/quic/core/quic_framer.h" |
45 #include "net/quic/core/quic_http_utils.h" | |
46 #include "net/quic/test_tools/crypto_test_utils.h" | 48 #include "net/quic/test_tools/crypto_test_utils.h" |
47 #include "net/quic/test_tools/mock_clock.h" | 49 #include "net/quic/test_tools/mock_clock.h" |
48 #include "net/quic/test_tools/mock_crypto_client_stream_factory.h" | |
49 #include "net/quic/test_tools/mock_random.h" | 50 #include "net/quic/test_tools/mock_random.h" |
50 #include "net/quic/test_tools/quic_test_packet_maker.h" | |
51 #include "net/quic/test_tools/quic_test_utils.h" | 51 #include "net/quic/test_tools/quic_test_utils.h" |
52 #include "net/socket/client_socket_factory.h" | 52 #include "net/socket/client_socket_factory.h" |
53 #include "net/socket/mock_client_socket_pool_manager.h" | 53 #include "net/socket/mock_client_socket_pool_manager.h" |
54 #include "net/socket/next_proto.h" | 54 #include "net/socket/next_proto.h" |
55 #include "net/socket/socket_performance_watcher.h" | 55 #include "net/socket/socket_performance_watcher.h" |
56 #include "net/socket/socket_performance_watcher_factory.h" | 56 #include "net/socket/socket_performance_watcher_factory.h" |
57 #include "net/socket/socket_test_util.h" | 57 #include "net/socket/socket_test_util.h" |
58 #include "net/spdy/spdy_frame_builder.h" | 58 #include "net/spdy/spdy_frame_builder.h" |
59 #include "net/spdy/spdy_framer.h" | 59 #include "net/spdy/spdy_framer.h" |
60 #include "net/ssl/ssl_config_service_defaults.h" | 60 #include "net/ssl/ssl_config_service_defaults.h" |
(...skipping 3377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3438 AddHangingSocketData(); | 3438 AddHangingSocketData(); |
3439 | 3439 |
3440 SendRequestAndExpectQuicResponse(origin1_); | 3440 SendRequestAndExpectQuicResponse(origin1_); |
3441 SendRequestAndExpectQuicResponse(origin2_); | 3441 SendRequestAndExpectQuicResponse(origin2_); |
3442 | 3442 |
3443 EXPECT_TRUE(AllDataConsumed()); | 3443 EXPECT_TRUE(AllDataConsumed()); |
3444 } | 3444 } |
3445 | 3445 |
3446 } // namespace test | 3446 } // namespace test |
3447 } // namespace net | 3447 } // namespace net |
OLD | NEW |