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

Unified Diff: net/spdy/spdy_framer.cc

Issue 82913011: LOG(INFO) tidying in net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert dns_fuzz_stub changes 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/spdy/buffered_spdy_framer_unittest.cc ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.cc
diff --git a/net/spdy/spdy_framer.cc b/net/spdy/spdy_framer.cc
index 89a8309ea44c22aa0d19e927f8551b0106fdcb3e..687e9c07836083025913370672d387b40a892a63 100644
--- a/net/spdy/spdy_framer.cc
+++ b/net/spdy/spdy_framer.cc
@@ -61,7 +61,7 @@ const size_t SpdyFramer::kControlFrameBufferSize = 18;
#ifdef DEBUG_SPDY_STATE_CHANGES
#define CHANGE_STATE(newstate) \
do { \
- LOG(INFO) << "Changing state from: " \
+ VLOG(0) << "Changing state from: " \
<< StateToString(state_) \
<< " to " << StateToString(newstate) << "\n"; \
DCHECK(state_ != SPDY_ERROR); \
@@ -652,7 +652,7 @@ size_t SpdyFramer::ProcessCommonHeader(const char* data, size_t len) {
} else if (version != spdy_version_) {
// We check version before we check validity: version can never be
// 'invalid', it can only be unsupported.
- DLOG(INFO) << "Unsupported SPDY version " << version
+ DVLOG(0) << "Unsupported SPDY version " << version
<< " (expected " << spdy_version_ << ")";
set_error(SPDY_UNSUPPORTED_VERSION);
} else {
@@ -675,7 +675,7 @@ void SpdyFramer::ProcessControlFrameHeader(uint16 control_frame_type_field) {
current_frame_type_ = static_cast<SpdyFrameType>(control_frame_type_field);
if (current_frame_type_ == NOOP) {
- DLOG(INFO) << "NOOP control frame found. Ignoring.";
+ DVLOG(0) << "NOOP control frame found. Ignoring.";
CHANGE_STATE(SPDY_AUTO_RESET);
return;
}
@@ -1517,13 +1517,13 @@ size_t SpdyFramer::ParseHeaderBlockInBuffer(const char* header_data,
if (spdy_version_ < 3) {
uint16 temp;
if (!reader.ReadUInt16(&temp)) {
- DLOG(INFO) << "Unable to read number of headers.";
+ DVLOG(0) << "Unable to read number of headers.";
return 0;
}
num_headers = temp;
} else {
if (!reader.ReadUInt32(&num_headers)) {
- DLOG(INFO) << "Unable to read number of headers.";
+ DVLOG(0) << "Unable to read number of headers.";
return 0;
}
}
@@ -1535,7 +1535,7 @@ size_t SpdyFramer::ParseHeaderBlockInBuffer(const char* header_data,
// Read header name.
if ((spdy_version_ < 3) ? !reader.ReadStringPiece16(&temp)
: !reader.ReadStringPiece32(&temp)) {
- DLOG(INFO) << "Unable to read header name (" << index + 1 << " of "
+ DVLOG(0) << "Unable to read header name (" << index + 1 << " of "
<< num_headers << ").";
return 0;
}
@@ -1544,7 +1544,7 @@ size_t SpdyFramer::ParseHeaderBlockInBuffer(const char* header_data,
// Read header value.
if ((spdy_version_ < 3) ? !reader.ReadStringPiece16(&temp)
: !reader.ReadStringPiece32(&temp)) {
- DLOG(INFO) << "Unable to read header value (" << index + 1 << " of "
+ DVLOG(0) << "Unable to read header value (" << index + 1 << " of "
<< num_headers << ").";
return 0;
}
@@ -1552,7 +1552,7 @@ size_t SpdyFramer::ParseHeaderBlockInBuffer(const char* header_data,
// Ensure no duplicates.
if (block->find(name) != block->end()) {
- DLOG(INFO) << "Duplicate header '" << name << "' (" << index + 1 << " of "
+ DVLOG(0) << "Duplicate header '" << name << "' (" << index + 1 << " of "
<< num_headers << ").";
return 0;
}
« no previous file with comments | « net/spdy/buffered_spdy_framer_unittest.cc ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698