| 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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 | 647 |
| 646 ASSERT_EQ(0u, crypto_framer.InputBytesRemaining()); | 648 ASSERT_EQ(0u, crypto_framer.InputBytesRemaining()); |
| 647 | 649 |
| 648 for (const CryptoHandshakeMessage& message : crypto_visitor.messages()) { | 650 for (const CryptoHandshakeMessage& message : crypto_visitor.messages()) { |
| 649 dest_stream->OnHandshakeMessage(message); | 651 dest_stream->OnHandshakeMessage(message); |
| 650 } | 652 } |
| 651 } | 653 } |
| 652 | 654 |
| 653 } // namespace test | 655 } // namespace test |
| 654 } // namespace net | 656 } // namespace net |
| OLD | NEW |