| 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 "net/quic/crypto/crypto_server_config_protobuf.h" | 7 #include "net/quic/core/crypto/crypto_server_config_protobuf.h" |
| 8 #include "net/quic/quic_utils.h" | 8 #include "net/quic/core/quic_utils.h" |
| 9 #include "net/quic/test_tools/mock_clock.h" | 9 #include "net/quic/test_tools/mock_clock.h" |
| 10 #include "net/test/gtest_util.h" | 10 #include "net/test/gtest_util.h" |
| 11 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 13 |
| 14 using std::string; | 14 using std::string; |
| 15 | 15 |
| 16 namespace net { | 16 namespace net { |
| 17 namespace test { | 17 namespace test { |
| 18 | 18 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 &compressed_certs_cache, &full_chlo); | 117 &compressed_certs_cache, &full_chlo); |
| 118 // Verify that full_chlo can pass crypto_config's verification. | 118 // Verify that full_chlo can pass crypto_config's verification. |
| 119 crypto_config.ValidateClientHello( | 119 crypto_config.ValidateClientHello( |
| 120 full_chlo, client_addr.address(), server_ip, version, &clock, &proof, | 120 full_chlo, client_addr.address(), server_ip, version, &clock, &proof, |
| 121 new ShloVerifier(&crypto_config, server_ip, client_addr, &clock, &proof, | 121 new ShloVerifier(&crypto_config, server_ip, client_addr, &clock, &proof, |
| 122 &compressed_certs_cache)); | 122 &compressed_certs_cache)); |
| 123 } | 123 } |
| 124 | 124 |
| 125 } // namespace test | 125 } // namespace test |
| 126 } // namespace net | 126 } // namespace net |
| OLD | NEW |