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 // A server side dispatcher which dispatches a given client's data to their | 5 // A server side dispatcher which dispatches a given client's data to their |
6 // stream. | 6 // stream. |
7 | 7 |
8 #ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
17 #include "net/base/linked_hash_map.h" | 17 #include "net/base/linked_hash_map.h" |
18 #include "net/quic/crypto/quic_compressed_certs_cache.h" | 18 #include "net/quic/core/crypto/quic_compressed_certs_cache.h" |
19 #include "net/quic/crypto/quic_random.h" | 19 #include "net/quic/core/crypto/quic_random.h" |
20 #include "net/quic/quic_blocked_writer_interface.h" | 20 #include "net/quic/core/quic_blocked_writer_interface.h" |
21 #include "net/quic/quic_buffered_packet_store.h" | 21 #include "net/quic/core/quic_buffered_packet_store.h" |
22 #include "net/quic/quic_connection.h" | 22 #include "net/quic/core/quic_connection.h" |
23 #include "net/quic/quic_protocol.h" | 23 #include "net/quic/core/quic_protocol.h" |
24 #include "net/quic/quic_server_session_base.h" | 24 #include "net/quic/core/quic_server_session_base.h" |
25 #include "net/tools/quic/quic_process_packet_interface.h" | 25 #include "net/tools/quic/quic_process_packet_interface.h" |
26 #include "net/tools/quic/quic_time_wait_list_manager.h" | 26 #include "net/tools/quic/quic_time_wait_list_manager.h" |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
30 class QuicConfig; | 30 class QuicConfig; |
31 class QuicCryptoServerConfig; | 31 class QuicCryptoServerConfig; |
32 class QuicServerSessionBase; | 32 class QuicServerSessionBase; |
33 | 33 |
34 namespace test { | 34 namespace test { |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 // The last error set by SetLastError(), which is called by | 308 // The last error set by SetLastError(), which is called by |
309 // framer_visitor_->OnError(). | 309 // framer_visitor_->OnError(). |
310 QuicErrorCode last_error_; | 310 QuicErrorCode last_error_; |
311 | 311 |
312 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); | 312 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); |
313 }; | 313 }; |
314 | 314 |
315 } // namespace net | 315 } // namespace net |
316 | 316 |
317 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 317 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
OLD | NEW |