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

Side by Side Diff: net/quic/congestion_control/send_algorithm_interface.cc

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
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/tcp_cubic_sender.h" 7 #include "net/quic/congestion_control/tcp_cubic_sender.h"
8 #include "net/quic/quic_protocol.h" 8 #include "net/quic/quic_protocol.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 10 matching lines...) Expand all
21 case kCubic: 21 case kCubic:
22 return new TcpCubicSender(clock, rtt_stats, 22 return new TcpCubicSender(clock, rtt_stats,
23 false /* don't use Reno */, 23 false /* don't use Reno */,
24 kMaxTcpCongestionWindow, stats); 24 kMaxTcpCongestionWindow, stats);
25 case kReno: 25 case kReno:
26 return new TcpCubicSender(clock, rtt_stats, 26 return new TcpCubicSender(clock, rtt_stats,
27 true /* use Reno */, 27 true /* use Reno */,
28 kMaxTcpCongestionWindow, stats); 28 kMaxTcpCongestionWindow, stats);
29 case kBBR: 29 case kBBR:
30 LOG(DFATAL) << "BbrTcpSender is not supported."; 30 LOG(DFATAL) << "BbrTcpSender is not supported.";
31 return NULL; 31 return nullptr;
32 } 32 }
33 return NULL; 33 return nullptr;
34 } 34 }
35 35
36 } // namespace net 36 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/congestion_control/receive_algorithm_interface.cc ('k') | net/quic/congestion_control/send_algorithm_simulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698