OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PACKET_GENERATOR_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ |
7 | 7 |
8 #include "net/quic/quic_protocol.h" | 8 #include "net/quic/quic_protocol.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
12 class QuicPacketCreator; | 12 class QuicPacketCreator; |
13 class QuicPacketGenerator; | 13 class QuicPacketGenerator; |
14 | 14 |
15 namespace test { | 15 namespace test { |
16 | 16 |
17 class QuicPacketGeneratorPeer { | 17 class QuicPacketGeneratorPeer { |
18 public: | 18 public: |
19 static QuicPacketCreator* GetPacketCreator(QuicPacketGenerator* generator); | 19 static QuicPacketCreator* GetPacketCreator(QuicPacketGenerator* generator); |
| 20 static QuicTime::Delta GetFecTimeout(QuicPacketGenerator* generator); |
20 | 21 |
21 private: | 22 private: |
22 DISALLOW_COPY_AND_ASSIGN(QuicPacketGeneratorPeer); | 23 DISALLOW_COPY_AND_ASSIGN(QuicPacketGeneratorPeer); |
23 }; | 24 }; |
24 | 25 |
25 } // namespace test | 26 } // namespace test |
26 | 27 |
27 } // namespace net | 28 } // namespace net |
28 | 29 |
29 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ | 30 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ |
OLD | NEW |