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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "net/quic/quic_framer.h" | 12 #include "net/quic/quic_framer.h" |
13 #include "net/quic/quic_protocol.h" | 13 #include "net/quic/quic_protocol.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 class CryptoHandshakeMessage; | 17 class CryptoHandshakeMessage; |
18 struct QuicAckFrame; | 18 struct QuicAckFrame; |
19 class QuicConnection; | 19 class QuicConnection; |
20 class QuicConnectionVisitorInterface; | 20 class QuicConnectionVisitorInterface; |
21 class QuicPacketCreator; | 21 class QuicPacketCreator; |
22 class ReceiveAlgorithmInterface; | |
23 class SendAlgorithmInterface; | 22 class SendAlgorithmInterface; |
24 | 23 |
25 namespace test { | 24 namespace test { |
26 | 25 |
27 class SimpleFramerVisitor; | 26 class SimpleFramerVisitor; |
28 | 27 |
29 // Peer to make public a number of otherwise private QuicFramer methods. | 28 // Peer to make public a number of otherwise private QuicFramer methods. |
30 class SimpleQuicFramer { | 29 class SimpleQuicFramer { |
31 public: | 30 public: |
32 SimpleQuicFramer(); | 31 SimpleQuicFramer(); |
(...skipping 25 matching lines...) Expand all Loading... |
58 QuicFramer framer_; | 57 QuicFramer framer_; |
59 scoped_ptr<SimpleFramerVisitor> visitor_; | 58 scoped_ptr<SimpleFramerVisitor> visitor_; |
60 DISALLOW_COPY_AND_ASSIGN(SimpleQuicFramer); | 59 DISALLOW_COPY_AND_ASSIGN(SimpleQuicFramer); |
61 }; | 60 }; |
62 | 61 |
63 } // namespace test | 62 } // namespace test |
64 | 63 |
65 } // namespace net | 64 } // namespace net |
66 | 65 |
67 #endif // NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ | 66 #endif // NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ |
OLD | NEW |