Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: net/quic/platform/api/quic_pcc_sender.h

Issue 2856163003: Simple API for platform-specific PCC implementations. Implementation (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/BUILD.gn ('k') | net/quic/platform/impl/quic_pcc_sender_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/quic/platform/impl/quic_pcc_sender_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698