| Index: net/quic/platform/api/quic_pcc_sender.h
|
| diff --git a/net/quic/platform/api/quic_pcc_sender.h b/net/quic/platform/api/quic_pcc_sender.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..edea529d180ed2bec284a6ebf3580c857dba29f7
|
| --- /dev/null
|
| +++ b/net/quic/platform/api/quic_pcc_sender.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright (c) 2012 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_PLATFORM_API_QUIC_PCC_SENDER_H_
|
| +#define NET_QUIC_PLATFORM_API_QUIC_PCC_SENDER_H_
|
| +
|
| +#include "net/quic/core/congestion_control/send_algorithm_interface.h"
|
| +#include "net/quic/platform/impl/quic_pcc_sender_impl.h"
|
| +
|
| +namespace net {
|
| +
|
| +// Interface for creating a PCC SendAlgorithmInterface
|
| +SendAlgorithmInterface* CreatePccSender(
|
| + const QuicClock* clock,
|
| + const RttStats* rtt_stats,
|
| + const QuicUnackedPacketMap* unacked_packets,
|
| + QuicRandom* random,
|
| + QuicConnectionStats* stats,
|
| + QuicPacketCount initial_congestion_window,
|
| + QuicPacketCount max_congestion_window) {
|
| + return CreatePccSenderImpl(clock, rtt_stats, unacked_packets, random, stats,
|
| + initial_congestion_window, max_congestion_window);
|
| +}
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_QUIC_PLATFORM_API_QUIC_PCC_SENDER_H_
|
|
|