mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
33 lines
844 B
C++
33 lines
844 B
C++
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
|
|
#define NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
|
|
|
|
#include "base/macros.h"
|
|
#include "net/quic/core/quic_packets.h"
|
|
|
|
namespace net {
|
|
|
|
class QuicStreamSequencer;
|
|
|
|
namespace test {
|
|
|
|
class QuicStreamSequencerPeer {
|
|
public:
|
|
static size_t GetNumBufferedBytes(QuicStreamSequencer* sequencer);
|
|
|
|
static QuicStreamOffset GetCloseOffset(QuicStreamSequencer* sequencer);
|
|
|
|
static bool IsUnderlyingBufferAllocated(QuicStreamSequencer* sequencer);
|
|
|
|
private:
|
|
DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerPeer);
|
|
};
|
|
|
|
} // namespace test
|
|
} // namespace net
|
|
|
|
#endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_SEQUENCER_PEER_H_
|