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/chromium/quic_stream_factory.h" | 5 #include "net/quic/chromium/quic_stream_factory.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <ostream> | 8 #include <ostream> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "net/dns/mock_host_resolver.h" | 21 #include "net/dns/mock_host_resolver.h" |
22 #include "net/http/http_response_headers.h" | 22 #include "net/http/http_response_headers.h" |
23 #include "net/http/http_response_info.h" | 23 #include "net/http/http_response_info.h" |
24 #include "net/http/http_server_properties_impl.h" | 24 #include "net/http/http_server_properties_impl.h" |
25 #include "net/http/http_util.h" | 25 #include "net/http/http_util.h" |
26 #include "net/http/transport_security_state.h" | 26 #include "net/http/transport_security_state.h" |
27 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 27 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
28 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" | 28 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" |
29 #include "net/quic/chromium/mock_network_change_notifier.h" | 29 #include "net/quic/chromium/mock_network_change_notifier.h" |
30 #include "net/quic/chromium/mock_quic_data.h" | 30 #include "net/quic/chromium/mock_quic_data.h" |
| 31 #include "net/quic/chromium/properties_based_quic_server_info.h" |
31 #include "net/quic/chromium/quic_http_utils.h" | 32 #include "net/quic/chromium/quic_http_utils.h" |
| 33 #include "net/quic/chromium/quic_server_info.h" |
32 #include "net/quic/chromium/quic_test_packet_maker.h" | 34 #include "net/quic/chromium/quic_test_packet_maker.h" |
33 #include "net/quic/core/crypto/crypto_handshake.h" | 35 #include "net/quic/core/crypto/crypto_handshake.h" |
34 #include "net/quic/core/crypto/properties_based_quic_server_info.h" | |
35 #include "net/quic/core/crypto/quic_crypto_client_config.h" | 36 #include "net/quic/core/crypto/quic_crypto_client_config.h" |
36 #include "net/quic/core/crypto/quic_decrypter.h" | 37 #include "net/quic/core/crypto/quic_decrypter.h" |
37 #include "net/quic/core/crypto/quic_encrypter.h" | 38 #include "net/quic/core/crypto/quic_encrypter.h" |
38 #include "net/quic/core/crypto/quic_server_info.h" | |
39 #include "net/quic/core/quic_client_promised_info.h" | 39 #include "net/quic/core/quic_client_promised_info.h" |
40 #include "net/quic/test_tools/mock_clock.h" | 40 #include "net/quic/test_tools/mock_clock.h" |
41 #include "net/quic/test_tools/mock_random.h" | 41 #include "net/quic/test_tools/mock_random.h" |
42 #include "net/quic/test_tools/quic_config_peer.h" | 42 #include "net/quic/test_tools/quic_config_peer.h" |
43 #include "net/quic/test_tools/quic_stream_factory_peer.h" | 43 #include "net/quic/test_tools/quic_stream_factory_peer.h" |
44 #include "net/quic/test_tools/quic_test_utils.h" | 44 #include "net/quic/test_tools/quic_test_utils.h" |
45 #include "net/quic/test_tools/test_task_runner.h" | 45 #include "net/quic/test_tools/test_task_runner.h" |
46 #include "net/socket/next_proto.h" | 46 #include "net/socket/next_proto.h" |
47 #include "net/socket/socket_test_util.h" | 47 #include "net/socket/socket_test_util.h" |
48 #include "net/spdy/spdy_session_test_util.h" | 48 #include "net/spdy/spdy_session_test_util.h" |
(...skipping 5506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5555 // Clear all cached states. | 5555 // Clear all cached states. |
5556 factory_->ClearCachedStatesInCryptoConfig( | 5556 factory_->ClearCachedStatesInCryptoConfig( |
5557 base::Callback<bool(const GURL&)>()); | 5557 base::Callback<bool(const GURL&)>()); |
5558 EXPECT_TRUE(test_cases[0].state->certs().empty()); | 5558 EXPECT_TRUE(test_cases[0].state->certs().empty()); |
5559 EXPECT_TRUE(test_cases[1].state->certs().empty()); | 5559 EXPECT_TRUE(test_cases[1].state->certs().empty()); |
5560 EXPECT_TRUE(test_cases[2].state->certs().empty()); | 5560 EXPECT_TRUE(test_cases[2].state->certs().empty()); |
5561 } | 5561 } |
5562 | 5562 |
5563 } // namespace test | 5563 } // namespace test |
5564 } // namespace net | 5564 } // namespace net |
OLD | NEW |