OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/stateless_rejector.h" | 5 #include "net/tools/quic/stateless_rejector.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "net/quic/crypto/crypto_handshake_message.h" | 10 #include "net/quic/core/crypto/crypto_handshake_message.h" |
11 #include "net/quic/crypto/proof_source.h" | 11 #include "net/quic/core/crypto/proof_source.h" |
12 #include "net/quic/quic_utils.h" | 12 #include "net/quic/core/quic_utils.h" |
13 #include "net/quic/test_tools/crypto_test_utils.h" | 13 #include "net/quic/test_tools/crypto_test_utils.h" |
14 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" | 14 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" |
15 #include "net/quic/test_tools/quic_test_utils.h" | 15 #include "net/quic/test_tools/quic_test_utils.h" |
16 | 16 |
17 using std::ostream; | 17 using std::ostream; |
18 using std::string; | 18 using std::string; |
19 using std::vector; | 19 using std::vector; |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 namespace test { | 22 namespace test { |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 if (GetParam().flags != ENABLED || GetParam().version <= QUIC_VERSION_32) { | 232 if (GetParam().flags != ENABLED || GetParam().version <= QUIC_VERSION_32) { |
233 EXPECT_EQ(StatelessRejector::UNSUPPORTED, rejector_.state()); | 233 EXPECT_EQ(StatelessRejector::UNSUPPORTED, rejector_.state()); |
234 return; | 234 return; |
235 } | 235 } |
236 EXPECT_EQ(StatelessRejector::ACCEPTED, rejector_.state()); | 236 EXPECT_EQ(StatelessRejector::ACCEPTED, rejector_.state()); |
237 } | 237 } |
238 | 238 |
239 } // namespace | 239 } // namespace |
240 } // namespace test | 240 } // namespace test |
241 } // namespace net | 241 } // namespace net |
OLD | NEW |