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

Unified Diff: net/quic/congestion_control/time_loss_algorithm.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/congestion_control/time_loss_algorithm.cc
diff --git a/net/quic/congestion_control/time_loss_algorithm.cc b/net/quic/congestion_control/time_loss_algorithm.cc
index 6cf1d81ae1cf5ee2c93d3c2bd581d00d5d481660..ae6c61dafceb0f5b4c39402628aa5ee75fc55ecd 100644
--- a/net/quic/congestion_control/time_loss_algorithm.cc
+++ b/net/quic/congestion_control/time_loss_algorithm.cc
@@ -21,7 +21,8 @@ static const double kLossDelayMultiplier = 1.25;
} // namespace
TimeLossAlgorithm::TimeLossAlgorithm()
- : loss_detection_timeout_(QuicTime::Zero()) { }
+ : loss_detection_timeout_(QuicTime::Zero()) {
+}
LossDetectionType TimeLossAlgorithm::GetLossDetectionType() const {
return kTime;
@@ -40,7 +41,8 @@ SequenceNumberSet TimeLossAlgorithm::DetectLostPackets(
.Multiply(kLossDelayMultiplier));
for (QuicUnackedPacketMap::const_iterator it = unacked_packets.begin();
- it != unacked_packets.end() && it->first <= largest_observed; ++it) {
+ it != unacked_packets.end() && it->first <= largest_observed;
+ ++it) {
if (!it->second.pending) {
continue;
}

Powered by Google App Engine
This is Rietveld 408576698