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> | 11 #include <list> |
12 | 12 |
13 #include "base/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
14 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
15 #include "net/quic/blocked_list.h" | 15 #include "net/quic/blocked_list.h" |
16 #include "net/quic/quic_blocked_writer_interface.h" | 16 #include "net/quic/quic_blocked_writer_interface.h" |
17 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/quic_protocol.h" |
18 #include "net/tools/flip_server/epoll_server.h" | 18 #include "net/tools/flip_server/epoll_server.h" |
19 #include "net/tools/quic/quic_packet_writer.h" | 19 #include "net/tools/quic/quic_packet_writer.h" |
20 #include "net/tools/quic/quic_server_session.h" | 20 #include "net/tools/quic/quic_server_session.h" |
21 #include "net/tools/quic/quic_time_wait_list_manager.h" | 21 #include "net/tools/quic/quic_time_wait_list_manager.h" |
22 | 22 |
23 #if defined(COMPILER_GCC) | 23 #if defined(COMPILER_GCC) |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // False if we have gotten a call to OnCanWrite after the last failed write. | 134 // False if we have gotten a call to OnCanWrite after the last failed write. |
135 bool write_blocked_; | 135 bool write_blocked_; |
136 | 136 |
137 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); | 137 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); |
138 }; | 138 }; |
139 | 139 |
140 } // namespace tools | 140 } // namespace tools |
141 } // namespace net | 141 } // namespace net |
142 | 142 |
143 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 143 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
OLD | NEW |