OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/quic/congestion_control/send_algorithm_interface.h" | 5 #include "net/quic/congestion_control/send_algorithm_interface.h" |
6 | 6 |
7 #include "net/quic/congestion_control/fix_rate_sender.h" | 7 #include "net/quic/congestion_control/fix_rate_sender.h" |
8 #include "net/quic/congestion_control/tcp_cubic_sender.h" | 8 #include "net/quic/congestion_control/tcp_cubic_sender.h" |
9 #include "net/quic/quic_protocol.h" | 9 #include "net/quic/quic_protocol.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... | |
22 QuicConnectionStats* stats) { | 22 QuicConnectionStats* stats) { |
23 switch (type) { | 23 switch (type) { |
24 case kTCP: | 24 case kTCP: |
25 return new TcpCubicSender(clock, rtt_stats, kUseReno, | 25 return new TcpCubicSender(clock, rtt_stats, kUseReno, |
26 kMaxTcpCongestionWindow, stats); | 26 kMaxTcpCongestionWindow, stats); |
27 case kInterArrival: | 27 case kInterArrival: |
28 LOG(DFATAL) << "InterArrivalSendAlgorithm no longer supported."; | 28 LOG(DFATAL) << "InterArrivalSendAlgorithm no longer supported."; |
29 return NULL; | 29 return NULL; |
30 case kFixRate: | 30 case kFixRate: |
31 return new FixRateSender(rtt_stats); | 31 return new FixRateSender(rtt_stats); |
32 case kTCPBBR: | |
33 LOG(DFATAL) << "BbrTcpSender is not supported."; | |
wtc
2014/05/19 18:58:40
Nit: Is the class named BbrTcpSender or TcpBbrSend
ramant (doing other things)
2014/05/20 03:22:32
It is called BbrTcpSender (internally).
Ian: Shou
| |
34 return NULL; | |
32 } | 35 } |
33 return NULL; | 36 return NULL; |
34 } | 37 } |
35 | 38 |
36 } // namespace net | 39 } // namespace net |
OLD | NEW |