| 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/tools/quic/quic_dispatcher.h" | 5 #include "net/tools/quic/quic_dispatcher.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "net/quic/core/crypto/quic_random.h" | 10 #include "net/quic/core/crypto/quic_random.h" |
| 11 #include "net/quic/core/quic_flags.h" | |
| 12 #include "net/quic/core/quic_utils.h" | 11 #include "net/quic/core/quic_utils.h" |
| 13 #include "net/quic/platform/api/quic_bug_tracker.h" | 12 #include "net/quic/platform/api/quic_bug_tracker.h" |
| 14 #include "net/quic/platform/api/quic_flag_utils.h" | 13 #include "net/quic/platform/api/quic_flag_utils.h" |
| 14 #include "net/quic/platform/api/quic_flags.h" |
| 15 #include "net/quic/platform/api/quic_logging.h" | 15 #include "net/quic/platform/api/quic_logging.h" |
| 16 #include "net/quic/platform/api/quic_ptr_util.h" | 16 #include "net/quic/platform/api/quic_ptr_util.h" |
| 17 #include "net/quic/platform/api/quic_stack_trace.h" | 17 #include "net/quic/platform/api/quic_stack_trace.h" |
| 18 #include "net/quic/platform/api/quic_string_piece.h" | 18 #include "net/quic/platform/api/quic_string_piece.h" |
| 19 #include "net/tools/quic/chlo_extractor.h" | 19 #include "net/tools/quic/chlo_extractor.h" |
| 20 #include "net/tools/quic/quic_per_connection_packet_writer.h" | 20 #include "net/tools/quic/quic_per_connection_packet_writer.h" |
| 21 #include "net/tools/quic/quic_simple_server_session.h" | 21 #include "net/tools/quic/quic_simple_server_session.h" |
| 22 #include "net/tools/quic/quic_time_wait_list_manager.h" | 22 #include "net/tools/quic/quic_time_wait_list_manager.h" |
| 23 #include "net/tools/quic/stateless_rejector.h" | 23 #include "net/tools/quic/stateless_rejector.h" |
| 24 | 24 |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 void QuicDispatcher::DeliverPacketsToSession( | 999 void QuicDispatcher::DeliverPacketsToSession( |
| 1000 const std::list<BufferedPacket>& packets, | 1000 const std::list<BufferedPacket>& packets, |
| 1001 QuicSession* session) { | 1001 QuicSession* session) { |
| 1002 for (const BufferedPacket& packet : packets) { | 1002 for (const BufferedPacket& packet : packets) { |
| 1003 session->ProcessUdpPacket(packet.server_address, packet.client_address, | 1003 session->ProcessUdpPacket(packet.server_address, packet.client_address, |
| 1004 *(packet.packet)); | 1004 *(packet.packet)); |
| 1005 } | 1005 } |
| 1006 } | 1006 } |
| 1007 | 1007 |
| 1008 } // namespace net | 1008 } // namespace net |
| OLD | NEW |