| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 QuicConnection* connection); | 119 QuicConnection* connection); |
| 120 | 120 |
| 121 static void SetSupportedVersions(QuicConnection* connection, | 121 static void SetSupportedVersions(QuicConnection* connection, |
| 122 QuicVersionVector versions); | 122 QuicVersionVector versions); |
| 123 | 123 |
| 124 static QuicPacketHeader* GetLastHeader(QuicConnection* connection); | 124 static QuicPacketHeader* GetLastHeader(QuicConnection* connection); |
| 125 | 125 |
| 126 static void SetSequenceNumberOfLastSentPacket( | 126 static void SetSequenceNumberOfLastSentPacket( |
| 127 QuicConnection* connection, QuicPacketSequenceNumber number); | 127 QuicConnection* connection, QuicPacketSequenceNumber number); |
| 128 | 128 |
| 129 static QuicConnectionStats* GetStats(QuicConnection* connection); |
| 130 |
| 129 private: | 131 private: |
| 130 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); | 132 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); |
| 131 }; | 133 }; |
| 132 | 134 |
| 133 } // namespace test | 135 } // namespace test |
| 134 | 136 |
| 135 } // namespace net | 137 } // namespace net |
| 136 | 138 |
| 137 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 139 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
| OLD | NEW |