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. 4 5#ifndef NET_QUIC_TEST_TOOLS_QUIC_SUSTAINED_BANDWIDTH_RECORDER_PEER_H_ 6#define NET_QUIC_TEST_TOOLS_QUIC_SUSTAINED_BANDWIDTH_RECORDER_PEER_H_ 7 8#include "net/quic/quic_protocol.h" 9 10namespace net { 11 12class QuicSustainedBandwidthRecorder; 13 14namespace test { 15 16class QuicSustainedBandwidthRecorderPeer { 17 public: 18 static void SetBandwidthEstimate( 19 QuicSustainedBandwidthRecorder* bandwidth_recorder, 20 int32 bandwidth_estimate_kbytes_per_second); 21 22 static void SetMaxBandwidthEstimate( 23 QuicSustainedBandwidthRecorder* bandwidth_recorder, 24 int32 max_bandwidth_estimate_kbytes_per_second, 25 int32 max_bandwidth_timestamp); 26 27 private: 28 DISALLOW_COPY_AND_ASSIGN(QuicSustainedBandwidthRecorderPeer); 29}; 30 31} // namespace test 32} // namespace net 33 34#endif // NET_QUIC_TEST_TOOLS_QUIC_SUSTAINED_BANDWIDTH_RECORDER_PEER_H_ 35