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 <list> | |
12 | |
13 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
14 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
15 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
16 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
17 #include "net/base/linked_hash_map.h" | 15 #include "net/base/linked_hash_map.h" |
18 #include "net/quic/quic_blocked_writer_interface.h" | 16 #include "net/quic/quic_blocked_writer_interface.h" |
| 17 #include "net/quic/quic_connection.h" |
19 #include "net/quic/quic_protocol.h" | 18 #include "net/quic/quic_protocol.h" |
20 #include "net/tools/quic/quic_server_session.h" | 19 #include "net/tools/quic/quic_server_session.h" |
21 #include "net/tools/quic/quic_time_wait_list_manager.h" | 20 #include "net/tools/quic/quic_time_wait_list_manager.h" |
22 | 21 |
23 namespace net { | 22 namespace net { |
24 | 23 |
25 class QuicConfig; | 24 class QuicConfig; |
26 class QuicCryptoServerConfig; | 25 class QuicCryptoServerConfig; |
27 class QuicServerSession; | 26 class QuicServerSession; |
28 | 27 |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 QuicFramer framer_; | 252 QuicFramer framer_; |
254 scoped_ptr<QuicFramerVisitor> framer_visitor_; | 253 scoped_ptr<QuicFramerVisitor> framer_visitor_; |
255 | 254 |
256 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); | 255 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); |
257 }; | 256 }; |
258 | 257 |
259 } // namespace tools | 258 } // namespace tools |
260 } // namespace net | 259 } // namespace net |
261 | 260 |
262 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 261 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
OLD | NEW |