| 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 #include "net/tools/quic/test_tools/quic_dispatcher_peer.h" | 5 #include "net/tools/quic/test_tools/quic_dispatcher_peer.h" |
| 6 | 6 |
| 7 #include "net/tools/quic/quic_dispatcher.h" | 7 #include "net/tools/quic/quic_dispatcher.h" |
| 8 #include "net/tools/quic/quic_packet_writer_wrapper.h" | 8 #include "net/tools/quic/quic_packet_writer_wrapper.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 return dispatcher->helper_.get(); | 36 return dispatcher->helper_.get(); |
| 37 } | 37 } |
| 38 | 38 |
| 39 // static | 39 // static |
| 40 QuicConnection* QuicDispatcherPeer::CreateQuicConnection( | 40 QuicConnection* QuicDispatcherPeer::CreateQuicConnection( |
| 41 QuicDispatcher* dispatcher, | 41 QuicDispatcher* dispatcher, |
| 42 QuicConnectionId connection_id, | 42 QuicConnectionId connection_id, |
| 43 const IPEndPoint& server, | 43 const IPEndPoint& server, |
| 44 const IPEndPoint& client, | 44 const IPEndPoint& client, |
| 45 uint32 initial_flow_control_window_bytes) { | 45 uint32 initial_flow_control_window_bytes) { |
| 46 return dispatcher->CreateQuicConnection(connection_id, | 46 return dispatcher->CreateQuicConnection( |
| 47 server, | 47 connection_id, server, client, initial_flow_control_window_bytes); |
| 48 client, | |
| 49 initial_flow_control_window_bytes); | |
| 50 } | 48 } |
| 51 | 49 |
| 52 } // namespace test | 50 } // namespace test |
| 53 } // namespace tools | 51 } // namespace tools |
| 54 } // namespace net | 52 } // namespace net |
| OLD | NEW |