OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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_PLATFORM_API_QUIC_PCC_SENDER_H_ |
| 6 #define NET_QUIC_PLATFORM_API_QUIC_PCC_SENDER_H_ |
| 7 |
| 8 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
| 9 #include "net/quic/platform/impl/quic_pcc_sender_impl.h" |
| 10 |
| 11 namespace net { |
| 12 |
| 13 // Interface for creating a PCC SendAlgorithmInterface |
| 14 SendAlgorithmInterface* CreatePccSender( |
| 15 const QuicClock* clock, |
| 16 const RttStats* rtt_stats, |
| 17 const QuicUnackedPacketMap* unacked_packets, |
| 18 QuicRandom* random, |
| 19 QuicConnectionStats* stats, |
| 20 QuicPacketCount initial_congestion_window, |
| 21 QuicPacketCount max_congestion_window) { |
| 22 return CreatePccSenderImpl(clock, rtt_stats, unacked_packets, random, stats, |
| 23 initial_congestion_window, max_congestion_window); |
| 24 } |
| 25 |
| 26 } // namespace net |
| 27 |
| 28 #endif // NET_QUIC_PLATFORM_API_QUIC_PCC_SENDER_H_ |
OLD | NEW |