| 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 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "net/base/ip_endpoint.h" | 9 #include "net/base/ip_endpoint.h" |
| 10 #include "net/quic/quic_connection_stats.h" | 10 #include "net/quic/quic_connection_stats.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 static void SendAck(QuicConnection* connection); | 36 static void SendAck(QuicConnection* connection); |
| 37 | 37 |
| 38 static void SetReceiveAlgorithm(QuicConnection* connection, | 38 static void SetReceiveAlgorithm(QuicConnection* connection, |
| 39 ReceiveAlgorithmInterface* receive_algorithm); | 39 ReceiveAlgorithmInterface* receive_algorithm); |
| 40 | 40 |
| 41 static void SetSendAlgorithm(QuicConnection* connection, | 41 static void SetSendAlgorithm(QuicConnection* connection, |
| 42 SendAlgorithmInterface* send_algorithm); | 42 SendAlgorithmInterface* send_algorithm); |
| 43 | 43 |
| 44 static QuicAckFrame* CreateAckFrame(QuicConnection* connection); | 44 static QuicAckFrame* CreateAckFrame(QuicConnection* connection); |
| 45 | 45 |
| 46 static QuicConnectionVisitorInterface* GetVisitor( | 46 static QuicConnectionVisitorInterface* GetVisitor(QuicConnection* connection); |
| 47 QuicConnection* connection); | |
| 48 | 47 |
| 49 static QuicPacketCreator* GetPacketCreator(QuicConnection* connection); | 48 static QuicPacketCreator* GetPacketCreator(QuicConnection* connection); |
| 50 | 49 |
| 51 static QuicSentPacketManager* GetSentPacketManager( | 50 static QuicSentPacketManager* GetSentPacketManager( |
| 52 QuicConnection* connection); | 51 QuicConnection* connection); |
| 53 | 52 |
| 54 static QuicReceivedPacketManager* GetReceivedPacketManager( | 53 static QuicReceivedPacketManager* GetReceivedPacketManager( |
| 55 QuicConnection* connection); | 54 QuicConnection* connection); |
| 56 | 55 |
| 57 static QuicTime::Delta GetNetworkTimeout(QuicConnection* connection); | 56 static QuicTime::Delta GetNetworkTimeout(QuicConnection* connection); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 109 |
| 111 private: | 110 private: |
| 112 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); | 111 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); |
| 113 }; | 112 }; |
| 114 | 113 |
| 115 } // namespace test | 114 } // namespace test |
| 116 | 115 |
| 117 } // namespace net | 116 } // namespace net |
| 118 | 117 |
| 119 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 118 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| OLD | NEW |