OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_STREAM_SEQUENCER_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "net/quic/quic_protocol.h" | 9 #include "net/quic/quic_protocol.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 class QuicStreamSequencer; | 13 class QuicStreamSequencer; |
14 | 14 |
15 namespace test { | 15 namespace test { |
16 | 16 |
17 class QuicStreamSequencerPeer { | 17 class QuicStreamSequencerPeer { |
18 public: | 18 public: |
19 static std::map<QuicStreamOffset, std::string>* GetFrames( | 19 static std::map<QuicStreamOffset, std::string>* GetBufferedFrames( |
20 QuicStreamSequencer* sequencer); | 20 QuicStreamSequencer* sequencer); |
21 | 21 |
22 static QuicStreamOffset GetCloseOffset(QuicStreamSequencer* sequencer); | 22 static QuicStreamOffset GetCloseOffset(QuicStreamSequencer* sequencer); |
23 | 23 |
24 private: | 24 private: |
25 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerPeer); | 25 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerPeer); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace test | 28 } // namespace test |
29 } // namespace net | 29 } // namespace net |
30 | 30 |
31 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ | 31 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_ |
OLD | NEW |