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

Side by Side Diff: net/quic/core/congestion_control/bbr_sender.cc

Issue 2619993003: Move quic_bug_tracker to quic/platform. No functional change expected. (Closed)
Patch Set: fix two includes Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/core/congestion_control/bbr_sender.h" 5 #include "net/quic/core/congestion_control/bbr_sender.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "net/quic/core/congestion_control/rtt_stats.h" 11 #include "net/quic/core/congestion_control/rtt_stats.h"
12 #include "net/quic/core/quic_bug_tracker.h"
13 #include "net/quic/core/quic_flags.h" 12 #include "net/quic/core/quic_flags.h"
13 #include "net/quic/platform/api/quic_bug_tracker.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 namespace { 17 namespace {
18 // Constants based on TCP defaults. 18 // Constants based on TCP defaults.
19 const QuicByteCount kMaxSegmentSize = kDefaultTCPMSS; 19 const QuicByteCount kMaxSegmentSize = kDefaultTCPMSS;
20 // The minimum CWND to ensure delayed acks don't reduce bandwidth measurements. 20 // The minimum CWND to ensure delayed acks don't reduce bandwidth measurements.
21 // Does not inflate the pacing rate. 21 // Does not inflate the pacing rate.
22 const QuicByteCount kMinimumCongestionWindow = 4 * kMaxSegmentSize; 22 const QuicByteCount kMinimumCongestionWindow = 4 * kMaxSegmentSize;
23 23
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 os << "Minimum RTT timestamp: " << state.min_rtt_timestamp.ToDebuggingValue() 574 os << "Minimum RTT timestamp: " << state.min_rtt_timestamp.ToDebuggingValue()
575 << std::endl; 575 << std::endl;
576 576
577 os << "Last sample is app-limited: " 577 os << "Last sample is app-limited: "
578 << (state.last_sample_is_app_limited ? "yes" : "no"); 578 << (state.last_sample_is_app_limited ? "yes" : "no");
579 579
580 return os; 580 return os;
581 } 581 }
582 582
583 } // namespace net 583 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/congestion_control/bandwidth_sampler.cc ('k') | net/quic/core/congestion_control/general_loss_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698