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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "net/base/capturing_net_log.h" | 11 #include "net/base/capturing_net_log.h" |
12 #include "net/base/net_log_unittest.h" | 12 #include "net/base/net_log_unittest.h" |
13 #include "net/base/test_completion_callback.h" | 13 #include "net/base/test_completion_callback.h" |
14 #include "net/cert/mock_cert_verifier.h" | 14 #include "net/cert/mock_cert_verifier.h" |
15 #include "net/dns/mock_host_resolver.h" | 15 #include "net/dns/mock_host_resolver.h" |
16 #include "net/http/http_auth_handler_factory.h" | 16 #include "net/http/http_auth_handler_factory.h" |
17 #include "net/http/http_network_session.h" | 17 #include "net/http/http_network_session.h" |
18 #include "net/http/http_network_transaction.h" | 18 #include "net/http/http_network_transaction.h" |
19 #include "net/http/http_server_properties_impl.h" | 19 #include "net/http/http_server_properties_impl.h" |
20 #include "net/http/http_stream.h" | 20 #include "net/http/http_stream.h" |
21 #include "net/http/http_stream_factory.h" | 21 #include "net/http/http_stream_factory.h" |
22 #include "net/http/http_transaction_unittest.h" | 22 #include "net/http/http_transaction_test_util.h" |
23 #include "net/http/transport_security_state.h" | 23 #include "net/http/transport_security_state.h" |
24 #include "net/proxy/proxy_config_service_fixed.h" | 24 #include "net/proxy/proxy_config_service_fixed.h" |
25 #include "net/proxy/proxy_resolver.h" | 25 #include "net/proxy/proxy_resolver.h" |
26 #include "net/proxy/proxy_service.h" | 26 #include "net/proxy/proxy_service.h" |
27 #include "net/quic/crypto/quic_decrypter.h" | 27 #include "net/quic/crypto/quic_decrypter.h" |
28 #include "net/quic/crypto/quic_encrypter.h" | 28 #include "net/quic/crypto/quic_encrypter.h" |
29 #include "net/quic/quic_framer.h" | 29 #include "net/quic/quic_framer.h" |
30 #include "net/quic/quic_http_utils.h" | 30 #include "net/quic/quic_http_utils.h" |
31 #include "net/quic/test_tools/crypto_test_utils.h" | 31 #include "net/quic/test_tools/crypto_test_utils.h" |
32 #include "net/quic/test_tools/mock_clock.h" | 32 #include "net/quic/test_tools/mock_clock.h" |
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 NULL, | 900 NULL, |
901 net_log_.bound()); | 901 net_log_.bound()); |
902 | 902 |
903 CreateSession(); | 903 CreateSession(); |
904 AddQuicAlternateProtocolMapping(MockCryptoClientStream::ZERO_RTT); | 904 AddQuicAlternateProtocolMapping(MockCryptoClientStream::ZERO_RTT); |
905 SendRequestAndExpectHttpResponse("hello world"); | 905 SendRequestAndExpectHttpResponse("hello world"); |
906 } | 906 } |
907 | 907 |
908 } // namespace test | 908 } // namespace test |
909 } // namespace net | 909 } // namespace net |
OLD | NEW |