| 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 "net/tools/quic/quic_dispatcher.h" | 8 #include "net/tools/quic/quic_dispatcher.h" |
| 9 | 9 |
| 10 #include "net/base/ip_endpoint.h" | 10 #include "net/base/ip_endpoint.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 static QuicPacketWriterWrapper* GetWriter(QuicDispatcher* dispatcher); | 30 static QuicPacketWriterWrapper* GetWriter(QuicDispatcher* dispatcher); |
| 31 | 31 |
| 32 static QuicEpollConnectionHelper* GetHelper(QuicDispatcher* dispatcher); | 32 static QuicEpollConnectionHelper* GetHelper(QuicDispatcher* dispatcher); |
| 33 | 33 |
| 34 static QuicConnection* CreateQuicConnection( | 34 static QuicConnection* CreateQuicConnection( |
| 35 QuicDispatcher* dispatcher, | 35 QuicDispatcher* dispatcher, |
| 36 QuicConnectionId connection_id, | 36 QuicConnectionId connection_id, |
| 37 const IPEndPoint& server, | 37 const IPEndPoint& server, |
| 38 const IPEndPoint& client, | 38 const IPEndPoint& client, |
| 39 uint32 initial_flow_control_window_bytes); | 39 uint32 initial_flow_control_window_bytes); |
| 40 |
| 41 private: |
| 42 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer); |
| 40 }; | 43 }; |
| 41 | 44 |
| 42 } // namespace test | 45 } // namespace test |
| 43 } // namespace tools | 46 } // namespace tools |
| 44 } // namespace net | 47 } // namespace net |
| 45 | 48 |
| 46 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ | 49 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ |
| OLD | NEW |