OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ |
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "net/tools/quic/quic_dispatcher.h" | 9 #include "net/tools/quic/quic_dispatcher.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 static const QuicDispatcher::SessionMap& session_map( | 45 static const QuicDispatcher::SessionMap& session_map( |
46 QuicDispatcher* dispatcher); | 46 QuicDispatcher* dispatcher); |
47 | 47 |
48 static void set_new_sessions_allowed_per_event_loop( | 48 static void set_new_sessions_allowed_per_event_loop( |
49 QuicDispatcher* dispatcher, | 49 QuicDispatcher* dispatcher, |
50 size_t num_session_allowed); | 50 size_t num_session_allowed); |
51 | 51 |
52 static void SendPublicReset(QuicDispatcher* dispatcher, | 52 static void SendPublicReset(QuicDispatcher* dispatcher, |
53 const QuicSocketAddress& server_address, | 53 const QuicSocketAddress& server_address, |
54 const QuicSocketAddress& client_address, | 54 const QuicSocketAddress& client_address, |
55 QuicConnectionId connection_id, | 55 QuicConnectionId connection_id); |
56 QuicPacketNumber rejected_packet_number); | |
57 | 56 |
58 private: | 57 private: |
59 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer); | 58 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer); |
60 }; | 59 }; |
61 | 60 |
62 } // namespace test | 61 } // namespace test |
63 } // namespace net | 62 } // namespace net |
64 | 63 |
65 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ | 64 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ |
OLD | NEW |