| 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/core/crypto/crypto_handshake_message.h" | 10 #include "net/quic/core/crypto/crypto_handshake_message.h" |
| 11 #include "net/quic/core/crypto/proof_source.h" | 11 #include "net/quic/core/crypto/proof_source.h" |
| 12 #include "net/quic/core/quic_utils.h" | 12 #include "net/quic/core/quic_utils.h" |
| 13 #include "net/quic/platform/api/quic_flags.h" |
| 13 #include "net/quic/platform/api/quic_logging.h" | 14 #include "net/quic/platform/api/quic_logging.h" |
| 14 #include "net/quic/platform/api/quic_ptr_util.h" | 15 #include "net/quic/platform/api/quic_ptr_util.h" |
| 15 #include "net/quic/platform/api/quic_str_cat.h" | 16 #include "net/quic/platform/api/quic_str_cat.h" |
| 16 #include "net/quic/platform/api/quic_string_piece.h" | 17 #include "net/quic/platform/api/quic_string_piece.h" |
| 17 #include "net/quic/platform/api/quic_text_utils.h" | 18 #include "net/quic/platform/api/quic_text_utils.h" |
| 18 #include "net/quic/test_tools/crypto_test_utils.h" | 19 #include "net/quic/test_tools/crypto_test_utils.h" |
| 19 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" | 20 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" |
| 20 #include "net/quic/test_tools/quic_test_utils.h" | 21 #include "net/quic/test_tools/quic_test_utils.h" |
| 21 | 22 |
| 22 using std::string; | 23 using std::string; |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 ASSERT_EQ(StatelessRejector::UNKNOWN, rejector_->state()); | 280 ASSERT_EQ(StatelessRejector::UNKNOWN, rejector_->state()); |
| 280 StatelessRejector::Process(std::move(rejector_), | 281 StatelessRejector::Process(std::move(rejector_), |
| 281 QuicMakeUnique<ProcessDoneCallback>(this)); | 282 QuicMakeUnique<ProcessDoneCallback>(this)); |
| 282 | 283 |
| 283 EXPECT_EQ(StatelessRejector::ACCEPTED, rejector_->state()); | 284 EXPECT_EQ(StatelessRejector::ACCEPTED, rejector_->state()); |
| 284 } | 285 } |
| 285 | 286 |
| 286 } // namespace | 287 } // namespace |
| 287 } // namespace test | 288 } // namespace test |
| 288 } // namespace net | 289 } // namespace net |
| OLD | NEW |