| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_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 { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 QuicPacketCreator* creator, | 22 QuicPacketCreator* creator, |
| 23 QuicPacketNumberLength packet_number_length); | 23 QuicPacketNumberLength packet_number_length); |
| 24 static QuicPacketNumberLength GetPacketNumberLength( | 24 static QuicPacketNumberLength GetPacketNumberLength( |
| 25 QuicPacketCreator* creator); | 25 QuicPacketCreator* creator); |
| 26 static void SetNextPacketNumberLength( | 26 static void SetNextPacketNumberLength( |
| 27 QuicPacketCreator* creator, | 27 QuicPacketCreator* creator, |
| 28 QuicPacketNumberLength next_packet_number_length); | 28 QuicPacketNumberLength next_packet_number_length); |
| 29 static QuicPacketNumberLength NextPacketNumberLength( | 29 static QuicPacketNumberLength NextPacketNumberLength( |
| 30 QuicPacketCreator* creator); | 30 QuicPacketCreator* creator); |
| 31 static void SetPacketNumber(QuicPacketCreator* creator, QuicPacketNumber s); | 31 static void SetPacketNumber(QuicPacketCreator* creator, QuicPacketNumber s); |
| 32 static void FillPacketHeader(QuicPacketCreator* creator, |
| 33 QuicFecGroupNumber fec_group, |
| 34 bool fec_flag, |
| 35 QuicPacketHeader* header); |
| 32 | 36 |
| 33 private: | 37 private: |
| 34 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer); | 38 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer); |
| 35 }; | 39 }; |
| 36 | 40 |
| 37 } // namespace test | 41 } // namespace test |
| 38 | 42 |
| 39 } // namespace net | 43 } // namespace net |
| 40 | 44 |
| 41 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ | 45 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ |
| OLD | NEW |