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/test_tools/crypto_test_utils.h" | 5 #include "net/quic/test_tools/crypto_test_utils.h" |
6 | 6 |
| 7 #include <memory> |
| 8 |
7 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
8 #include "net/quic/crypto/channel_id.h" | 10 #include "net/quic/crypto/channel_id.h" |
9 #include "net/quic/crypto/common_cert_set.h" | 11 #include "net/quic/crypto/common_cert_set.h" |
10 #include "net/quic/crypto/crypto_handshake.h" | 12 #include "net/quic/crypto/crypto_handshake.h" |
11 #include "net/quic/crypto/quic_crypto_server_config.h" | 13 #include "net/quic/crypto/quic_crypto_server_config.h" |
12 #include "net/quic/crypto/quic_decrypter.h" | 14 #include "net/quic/crypto/quic_decrypter.h" |
13 #include "net/quic/crypto/quic_encrypter.h" | 15 #include "net/quic/crypto/quic_encrypter.h" |
14 #include "net/quic/crypto/quic_random.h" | 16 #include "net/quic/crypto/quic_random.h" |
15 #include "net/quic/quic_clock.h" | 17 #include "net/quic/quic_clock.h" |
16 #include "net/quic/quic_crypto_client_stream.h" | 18 #include "net/quic/quic_crypto_client_stream.h" |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 | 644 |
643 ASSERT_EQ(0u, crypto_framer.InputBytesRemaining()); | 645 ASSERT_EQ(0u, crypto_framer.InputBytesRemaining()); |
644 | 646 |
645 for (const CryptoHandshakeMessage& message : crypto_visitor.messages()) { | 647 for (const CryptoHandshakeMessage& message : crypto_visitor.messages()) { |
646 dest_stream->OnHandshakeMessage(message); | 648 dest_stream->OnHandshakeMessage(message); |
647 } | 649 } |
648 } | 650 } |
649 | 651 |
650 } // namespace test | 652 } // namespace test |
651 } // namespace net | 653 } // namespace net |
OLD | NEW |