blob: 355237a2749a1c271123fd1723903938a70e68aa [file] [log] [blame]
// 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_THIRD_PARTY_QUIC_TEST_TOOLS_QUIC_SUSTAINED_BANDWIDTH_RECORDER_PEER_H_
#define NET_THIRD_PARTY_QUIC_TEST_TOOLS_QUIC_SUSTAINED_BANDWIDTH_RECORDER_PEER_H_
#include <cstdint>
#include "base/macros.h"
#include "net/third_party/quic/core/quic_packets.h"
namespace quic {
class QuicSustainedBandwidthRecorder;
namespace test {
class QuicSustainedBandwidthRecorderPeer {
public:
QuicSustainedBandwidthRecorderPeer() = delete;
static void SetBandwidthEstimate(
QuicSustainedBandwidthRecorder* bandwidth_recorder,
int32_t bandwidth_estimate_kbytes_per_second);
static void SetMaxBandwidthEstimate(
QuicSustainedBandwidthRecorder* bandwidth_recorder,
int32_t max_bandwidth_estimate_kbytes_per_second,
int32_t max_bandwidth_timestamp);
};
} // namespace test
} // namespace quic
#endif // NET_THIRD_PARTY_QUIC_TEST_TOOLS_QUIC_SUSTAINED_BANDWIDTH_RECORDER_PEER_H_