Delete unused downloads page asset.
[chromium-blink-merge.git] / net / quic / test_tools / quic_stream_sequencer_peer.h
blob22e3a9908b7b3ef5d5552b030d8640a07862ac72
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
8 #include "base/basictypes.h"
9 #include "net/quic/quic_protocol.h"
11 namespace net {
13 class QuicStreamSequencer;
15 namespace test {
17 class QuicStreamSequencerPeer {
18 public:
19 static size_t GetNumBufferedFrames(QuicStreamSequencer* sequencer);
21 static bool FrameOverlapsBufferedData(QuicStreamSequencer* sequencer,
22 const QuicStreamFrame& frame);
24 static QuicStreamOffset GetCloseOffset(QuicStreamSequencer* sequencer);
26 private:
27 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerPeer);
30 } // namespace test
31 } // namespace net
33 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_