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_SIMPLE_QUIC_FRAMER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ |
6 #define NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ | 6 #define NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
15 #include "net/quic/core/quic_framer.h" | 15 #include "net/quic/core/quic_framer.h" |
16 #include "net/quic/core/quic_protocol.h" | 16 #include "net/quic/core/quic_packets.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 | 19 |
20 struct QuicAckFrame; | 20 struct QuicAckFrame; |
21 | 21 |
22 namespace test { | 22 namespace test { |
23 | 23 |
24 class SimpleFramerVisitor; | 24 class SimpleFramerVisitor; |
25 | 25 |
26 // Peer to make public a number of otherwise private QuicFramer methods. | 26 // Peer to make public a number of otherwise private QuicFramer methods. |
(...skipping 29 matching lines...) Expand all Loading... |
56 QuicFramer framer_; | 56 QuicFramer framer_; |
57 std::unique_ptr<SimpleFramerVisitor> visitor_; | 57 std::unique_ptr<SimpleFramerVisitor> visitor_; |
58 DISALLOW_COPY_AND_ASSIGN(SimpleQuicFramer); | 58 DISALLOW_COPY_AND_ASSIGN(SimpleQuicFramer); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace test | 61 } // namespace test |
62 | 62 |
63 } // namespace net | 63 } // namespace net |
64 | 64 |
65 #endif // NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ | 65 #endif // NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ |
OLD | NEW |