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_FRAMER_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "net/quic/crypto/quic_encrypter.h" | 9 #include "net/quic/core/crypto/quic_encrypter.h" |
10 #include "net/quic/quic_framer.h" | 10 #include "net/quic/core/quic_framer.h" |
11 #include "net/quic/quic_protocol.h" | 11 #include "net/quic/core/quic_protocol.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 namespace test { | 15 namespace test { |
16 | 16 |
17 class QuicFramerPeer { | 17 class QuicFramerPeer { |
18 public: | 18 public: |
19 static QuicPacketNumber CalculatePacketNumberFromWire( | 19 static QuicPacketNumber CalculatePacketNumberFromWire( |
20 QuicFramer* framer, | 20 QuicFramer* framer, |
21 QuicPacketNumberLength packet_number_length, | 21 QuicPacketNumberLength packet_number_length, |
(...skipping 19 matching lines...) Expand all Loading... |
41 | 41 |
42 private: | 42 private: |
43 DISALLOW_COPY_AND_ASSIGN(QuicFramerPeer); | 43 DISALLOW_COPY_AND_ASSIGN(QuicFramerPeer); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace test | 46 } // namespace test |
47 | 47 |
48 } // namespace net | 48 } // namespace net |
49 | 49 |
50 #endif // NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_ | 50 #endif // NET_QUIC_TEST_TOOLS_QUIC_FRAMER_PEER_H_ |
OLD | NEW |