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

Unified Diff: net/quic/quic_framer.cc

Issue 83123006: Conver DLOG(INFO) to DVLOG(1) in QUIC code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix new messages Created 7 years, 1 month 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 | « net/quic/quic_connection.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_framer.cc
diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc
index a49e6a9920428c6f3a452c7b5806843fc6800fce..0902e2bad847790f947029aa3c4395ce62ee5bf2 100644
--- a/net/quic/quic_framer.cc
+++ b/net/quic/quic_framer.cc
@@ -276,7 +276,7 @@ size_t QuicFramer::GetSerializedFrameLength(
if (CanTruncate(quic_version_, frame, free_bytes)) {
// Truncate the frame so the packet will not exceed kMaxPacketSize.
// Note that we may not use every byte of the writer in this case.
- DLOG(INFO) << "Truncating large frame";
+ DVLOG(1) << "Truncating large frame";
return free_bytes;
}
}
@@ -1033,7 +1033,7 @@ bool QuicFramer::ProcessFrameData(const QuicPacketHeader& header) {
return RaiseError(QUIC_INVALID_STREAM_DATA);
}
if (!visitor_->OnStreamFrame(frame)) {
- DLOG(INFO) << "Visitor asked to stop further processing.";
+ DVLOG(1) << "Visitor asked to stop further processing.";
// Returning true since there was no parsing error.
return true;
}
@@ -1047,7 +1047,7 @@ bool QuicFramer::ProcessFrameData(const QuicPacketHeader& header) {
return RaiseError(QUIC_INVALID_ACK_DATA);
}
if (!visitor_->OnAckFrame(frame)) {
- DLOG(INFO) << "Visitor asked to stop further processing.";
+ DVLOG(1) << "Visitor asked to stop further processing.";
// Returning true since there was no parsing error.
return true;
}
@@ -1061,7 +1061,7 @@ bool QuicFramer::ProcessFrameData(const QuicPacketHeader& header) {
return RaiseError(QUIC_INVALID_CONGESTION_FEEDBACK_DATA);
}
if (!visitor_->OnCongestionFeedbackFrame(frame)) {
- DLOG(INFO) << "Visitor asked to stop further processing.";
+ DVLOG(1) << "Visitor asked to stop further processing.";
// Returning true since there was no parsing error.
return true;
}
@@ -1087,7 +1087,7 @@ bool QuicFramer::ProcessFrameData(const QuicPacketHeader& header) {
return RaiseError(QUIC_INVALID_RST_STREAM_DATA);
}
if (!visitor_->OnRstStreamFrame(frame)) {
- DLOG(INFO) << "Visitor asked to stop further processing.";
+ DVLOG(1) << "Visitor asked to stop further processing.";
// Returning true since there was no parsing error.
return true;
}
@@ -1102,14 +1102,14 @@ bool QuicFramer::ProcessFrameData(const QuicPacketHeader& header) {
if (version() <= QUIC_VERSION_11) {
if (!visitor_->OnAckFrame(frame.ack_frame)) {
- DLOG(INFO) << "Visitor asked to stop further processing.";
+ DVLOG(1) << "Visitor asked to stop further processing.";
// Returning true since there was no parsing error.
return true;
}
}
if (!visitor_->OnConnectionCloseFrame(frame)) {
- DLOG(INFO) << "Visitor asked to stop further processing.";
+ DVLOG(1) << "Visitor asked to stop further processing.";
// Returning true since there was no parsing error.
return true;
}
@@ -1122,7 +1122,7 @@ bool QuicFramer::ProcessFrameData(const QuicPacketHeader& header) {
return RaiseError(QUIC_INVALID_GOAWAY_DATA);
}
if (!visitor_->OnGoAwayFrame(goaway_frame)) {
- DLOG(INFO) << "Visitor asked to stop further processing.";
+ DVLOG(1) << "Visitor asked to stop further processing.";
// Returning true since there was no parsing error.
return true;
}
@@ -1760,7 +1760,7 @@ size_t QuicFramer::ComputeFrameLength(
break;
default:
set_detailed_error("Illegal feedback type.");
- DLOG(INFO) << "Illegal feedback type: " << congestion_feedback.type;
+ DVLOG(1) << "Illegal feedback type: " << congestion_feedback.type;
break;
}
return len;
@@ -2281,7 +2281,7 @@ bool QuicFramer::AppendGoAwayFramePayload(const QuicGoAwayFrame& frame,
}
bool QuicFramer::RaiseError(QuicErrorCode error) {
- DLOG(INFO) << detailed_error_;
+ DVLOG(1) << detailed_error_;
set_error(error);
visitor_->OnError(this);
reader_.reset(NULL);
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698