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

Unified Diff: net/quic/core/quic_flow_controller.cc

Issue 2702383002: More improvements to logs. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | net/quic/core/quic_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_flow_controller.cc
diff --git a/net/quic/core/quic_flow_controller.cc b/net/quic/core/quic_flow_controller.cc
index 274831cfd396829afb267c52ace10ed5dc67941a..d519032aa228de426c94d05a60cf0c0a6eacc609 100644
--- a/net/quic/core/quic_flow_controller.cc
+++ b/net/quic/core/quic_flow_controller.cc
@@ -54,8 +54,8 @@ QuicFlowController::QuicFlowController(
void QuicFlowController::AddBytesConsumed(QuicByteCount bytes_consumed) {
bytes_consumed_ += bytes_consumed;
- QUIC_DVLOG(1) << ENDPOINT << "Stream " << id_
- << " consumed: " << bytes_consumed_;
+ QUIC_DVLOG(1) << ENDPOINT << "Stream " << id_ << " consumed "
+ << bytes_consumed_ << " bytes.";
MaybeSendWindowUpdate();
}
@@ -68,7 +68,7 @@ bool QuicFlowController::UpdateHighestReceivedOffset(
}
QUIC_DVLOG(1) << ENDPOINT << "Stream " << id_
- << " highest byte offset increased from: "
+ << " highest byte offset increased from "
<< highest_received_byte_offset_ << " to " << new_offset;
highest_received_byte_offset_ = new_offset;
return true;
@@ -91,7 +91,8 @@ void QuicFlowController::AddBytesSent(QuicByteCount bytes_sent) {
}
bytes_sent_ += bytes_sent;
- QUIC_DVLOG(1) << ENDPOINT << "Stream " << id_ << " sent: " << bytes_sent_;
+ QUIC_DVLOG(1) << ENDPOINT << "Stream " << id_ << " sent " << bytes_sent_
+ << " bytes.";
}
bool QuicFlowController::FlowControlViolation() {
« no previous file with comments | « no previous file | net/quic/core/quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698