| 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/tools/quic/test_tools/quic_test_client.h" | 5 #include "net/tools/quic/test_tools/quic_test_client.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "net/quic/core/crypto/proof_verifier.h" | 11 #include "net/quic/core/crypto/proof_verifier.h" |
| 12 #include "net/quic/core/quic_flags.h" | 12 #include "net/quic/core/quic_flags.h" |
| 13 #include "net/quic/core/quic_server_id.h" | 13 #include "net/quic/core/quic_server_id.h" |
| 14 #include "net/quic/core/quic_utils.h" | 14 #include "net/quic/core/quic_utils.h" |
| 15 #include "net/quic/core/spdy_utils.h" | 15 #include "net/quic/core/spdy_utils.h" |
| 16 #include "net/quic/platform/api/quic_logging.h" | 16 #include "net/quic/platform/api/quic_logging.h" |
| 17 #include "net/quic/platform/api/quic_ptr_util.h" | 17 #include "net/quic/platform/api/quic_ptr_util.h" |
| 18 #include "net/quic/platform/api/quic_stack_trace.h" | 18 #include "net/quic/platform/api/quic_stack_trace.h" |
| 19 #include "net/quic/platform/api/quic_text_utils.h" | 19 #include "net/quic/platform/api/quic_text_utils.h" |
| 20 #include "net/quic/platform/api/quic_url.h" | 20 #include "net/quic/platform/api/quic_url.h" |
| 21 #include "net/quic/test_tools/crypto_test_utils.h" | 21 #include "net/quic/test_tools/crypto_test_utils.h" |
| 22 #include "net/quic/test_tools/quic_connection_peer.h" | 22 #include "net/quic/test_tools/quic_connection_peer.h" |
| 23 #include "net/quic/test_tools/quic_spdy_session_peer.h" | 23 #include "net/quic/test_tools/quic_spdy_session_peer.h" |
| 24 #include "net/quic/test_tools/quic_stream_peer.h" | 24 #include "net/quic/test_tools/quic_stream_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/tools/quic/quic_epoll_connection_helper.h" | 26 #include "net/tools/quic/quic_epoll_connection_helper.h" |
| 27 #include "net/tools/quic/quic_packet_writer_wrapper.h" | 27 #include "net/tools/quic/quic_packet_writer_wrapper.h" |
| 28 #include "net/tools/quic/quic_spdy_client_stream.h" | 28 #include "net/tools/quic/quic_spdy_client_stream.h" |
| 29 #include "net/tools/quic/test_tools/quic_client_peer.h" | 29 #include "net/tools/quic/test_tools/quic_client_peer.h" |
| 30 #include "third_party/boringssl/src/include/openssl/x509.h" | |
| 31 | 30 |
| 32 using std::string; | 31 using std::string; |
| 33 using testing::_; | 32 using testing::_; |
| 34 using testing::Invoke; | 33 using testing::Invoke; |
| 35 | 34 |
| 36 namespace net { | 35 namespace net { |
| 37 namespace test { | 36 namespace test { |
| 38 namespace { | 37 namespace { |
| 39 | 38 |
| 40 // RecordingProofVerifier accepts any certificate chain and records the common | 39 // RecordingProofVerifier accepts any certificate chain and records the common |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 | 792 |
| 794 void QuicTestClient::ClearPerConnectionState() { | 793 void QuicTestClient::ClearPerConnectionState() { |
| 795 ClearPerRequestState(); | 794 ClearPerRequestState(); |
| 796 open_streams_.clear(); | 795 open_streams_.clear(); |
| 797 closed_stream_states_.clear(); | 796 closed_stream_states_.clear(); |
| 798 latest_created_stream_ = nullptr; | 797 latest_created_stream_ = nullptr; |
| 799 } | 798 } |
| 800 | 799 |
| 801 } // namespace test | 800 } // namespace test |
| 802 } // namespace net | 801 } // namespace net |
| OLD | NEW |