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 |
(...skipping 14 matching lines...) Expand all Loading... |
25 template<> | 25 template<> |
26 struct hash<net::QuicBlockedWriterInterface*> { | 26 struct hash<net::QuicBlockedWriterInterface*> { |
27 std::size_t operator()( | 27 std::size_t operator()( |
28 const net::QuicBlockedWriterInterface* ptr) const { | 28 const net::QuicBlockedWriterInterface* ptr) const { |
29 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); | 29 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); |
30 } | 30 } |
31 }; | 31 }; |
32 } | 32 } |
33 #endif | 33 #endif |
34 | 34 |
35 namespace gfe2 { | |
36 class EpollServer; | |
37 } | |
38 | |
39 namespace net { | 35 namespace net { |
40 | 36 |
| 37 class EpollServer; |
41 class QuicConfig; | 38 class QuicConfig; |
42 class QuicCryptoServerConfig; | 39 class QuicCryptoServerConfig; |
43 class QuicSession; | 40 class QuicSession; |
44 | 41 |
45 namespace tools { | 42 namespace tools { |
46 | 43 |
47 namespace test { | 44 namespace test { |
48 class QuicDispatcherPeer; | 45 class QuicDispatcherPeer; |
49 } // namespace test | 46 } // namespace test |
50 | 47 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // 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. |
138 bool write_blocked_; | 135 bool write_blocked_; |
139 | 136 |
140 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); | 137 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); |
141 }; | 138 }; |
142 | 139 |
143 } // namespace tools | 140 } // namespace tools |
144 } // namespace net | 141 } // namespace net |
145 | 142 |
146 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ | 143 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ |
OLD | NEW |