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/macros.h" | 8 #include "base/macros.h" |
9 #include "net/base/ip_endpoint.h" | 9 #include "net/base/ip_endpoint.h" |
10 #include "net/quic/core/quic_connection.h" | 10 #include "net/quic/core/quic_connection.h" |
11 #include "net/quic/core/quic_connection_stats.h" | 11 #include "net/quic/core/quic_connection_stats.h" |
12 #include "net/quic/core/quic_protocol.h" | 12 #include "net/quic/core/quic_protocol.h" |
13 #include "net/quic/platform/api/quic_socket_address.h" | 13 #include "net/quic/platform/api/quic_socket_address.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 struct QuicAckFrame; | |
18 struct QuicPacketHeader; | 17 struct QuicPacketHeader; |
19 class QuicAlarm; | 18 class QuicAlarm; |
20 class QuicConnectionHelperInterface; | 19 class QuicConnectionHelperInterface; |
21 class QuicConnectionVisitorInterface; | 20 class QuicConnectionVisitorInterface; |
22 class QuicEncryptedPacket; | 21 class QuicEncryptedPacket; |
23 class QuicFramer; | 22 class QuicFramer; |
24 class QuicPacketCreator; | 23 class QuicPacketCreator; |
25 class QuicPacketGenerator; | 24 class QuicPacketGenerator; |
26 class QuicPacketWriter; | 25 class QuicPacketWriter; |
27 class QuicReceivedPacketManager; | |
28 class QuicSentPacketManager; | 26 class QuicSentPacketManager; |
29 class SendAlgorithmInterface; | 27 class SendAlgorithmInterface; |
30 | 28 |
31 namespace test { | 29 namespace test { |
32 | 30 |
33 // Peer to make public a number of otherwise private QuicConnection methods. | 31 // Peer to make public a number of otherwise private QuicConnection methods. |
34 class QuicConnectionPeer { | 32 class QuicConnectionPeer { |
35 public: | 33 public: |
36 static void SendAck(QuicConnection* connection); | 34 static void SendAck(QuicConnection* connection); |
37 | 35 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 124 |
127 private: | 125 private: |
128 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); | 126 DISALLOW_COPY_AND_ASSIGN(QuicConnectionPeer); |
129 }; | 127 }; |
130 | 128 |
131 } // namespace test | 129 } // namespace test |
132 | 130 |
133 } // namespace net | 131 } // namespace net |
134 | 132 |
135 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ | 133 #endif // NET_QUIC_TEST_TOOLS_QUIC_CONNECTION_PEER_H_ |
OLD | NEW |