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

Unified Diff: net/quic/congestion_control/fix_rate_sender.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/fix_rate_sender.cc
diff --git a/net/quic/congestion_control/fix_rate_sender.cc b/net/quic/congestion_control/fix_rate_sender.cc
index a5d750cf9e0ecc495182a3ac238f41c83710a6ab..c7cddae85a8b8d1f9f0aeaec70d47863bea5764a 100644
--- a/net/quic/congestion_control/fix_rate_sender.cc
+++ b/net/quic/congestion_control/fix_rate_sender.cc
@@ -15,8 +15,8 @@
using std::max;
namespace {
- const int kInitialBitrate = 100000; // In bytes per second.
- const uint64 kWindowSizeUs = 10000; // 10 ms.
+const int kInitialBitrate = 100000; // In bytes per second.
+const uint64 kWindowSizeUs = 10000; // 10 ms.
}
namespace net {
@@ -41,8 +41,8 @@ void FixRateSender::SetFromConfig(const QuicConfig& config, bool is_server) {
void FixRateSender::OnIncomingQuicCongestionFeedbackFrame(
const QuicCongestionFeedbackFrame& feedback,
QuicTime feedback_receive_time) {
- LOG_IF(DFATAL, feedback.type != kFixRate) <<
- "Invalid incoming CongestionFeedbackType:" << feedback.type;
+ LOG_IF(DFATAL, feedback.type != kFixRate)
+ << "Invalid incoming CongestionFeedbackType:" << feedback.type;
if (feedback.type == kFixRate) {
bitrate_ = feedback.fix_rate.bitrate;
fix_rate_leaky_bucket_.SetDrainingRate(feedback_receive_time, bitrate_);
@@ -75,7 +75,8 @@ bool FixRateSender::OnPacketSent(
return true;
}
-void FixRateSender::OnRetransmissionTimeout(bool packets_retransmitted) { }
+void FixRateSender::OnRetransmissionTimeout(bool packets_retransmitted) {
+}
void FixRateSender::OnPacketAbandoned(
QuicPacketSequenceNumber /*sequence_number*/,

Powered by Google App Engine
This is Rietveld 408576698