diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 17:23:38 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 17:23:38 +0000 |
commit | 8c6d4c92132c5b50afbc2880405cd857369f400d (patch) | |
tree | 780d52321a3e0fcd6c5cdae4551133a9b2d43085 /net/tools/balsa | |
parent | 192fe9736d355adfa1b871ce9d8a838ac8a76a91 (diff) | |
download | chromium_src-8c6d4c92132c5b50afbc2880405cd857369f400d.zip chromium_src-8c6d4c92132c5b50afbc2880405cd857369f400d.tar.gz chromium_src-8c6d4c92132c5b50afbc2880405cd857369f400d.tar.bz2 |
LOG(INFO) tidying in net/
Some deletions, some to VLOG.
R=rsleevi@chromium.org
BUG=322805
Review URL: https://codereview.chromium.org/82913011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237095 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/balsa')
-rw-r--r-- | net/tools/balsa/balsa_frame.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net/tools/balsa/balsa_frame.cc b/net/tools/balsa/balsa_frame.cc index 96e9193..f004d57 100644 --- a/net/tools/balsa/balsa_frame.cc +++ b/net/tools/balsa/balsa_frame.cc @@ -630,7 +630,7 @@ void BalsaFrame::ProcessContentLengthLine( if (value_begin >= line_end) { // There is no non-whitespace value data. #if DEBUGFRAMER - LOG(INFO) << "invalid content-length -- no non-whitespace value data"; + VLOG(0) << "invalid content-length -- no non-whitespace value data"; #endif *status = BalsaHeadersEnums::INVALID_CONTENT_LENGTH; return; @@ -642,7 +642,7 @@ void BalsaFrame::ProcessContentLengthLine( // bad! content-length found, and couldn't parse all of it! *status = BalsaHeadersEnums::INVALID_CONTENT_LENGTH; #if DEBUGFRAMER - LOG(INFO) << "invalid content-length - non numeric character detected"; + VLOG(0) << "invalid content-length - non numeric character detected"; #endif // DEBUGFRAMER return; } @@ -653,7 +653,7 @@ void BalsaFrame::ProcessContentLengthLine( (std::numeric_limits<size_t>::max() - length_x_10) < c) { *status = BalsaHeadersEnums::CONTENT_LENGTH_OVERFLOW; #if DEBUGFRAMER - LOG(INFO) << "content-length overflow"; + VLOG(0) << "content-length overflow"; #endif // DEBUGFRAMER return; } @@ -661,7 +661,7 @@ void BalsaFrame::ProcessContentLengthLine( ++value_begin; } #if DEBUGFRAMER - LOG(INFO) << "content_length parsed: " << *length; + VLOG(0) << "content_length parsed: " << *length; #endif // DEBUGFRAMER *status = BalsaHeadersEnums::VALID_CONTENT_LENGTH; } @@ -758,7 +758,7 @@ void BalsaFrame::ProcessHeaderLines() { DCHECK(!lines_.empty()); #if DEBUGFRAMER - LOG(INFO) << "******@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**********\n"; + VLOG(0) << "******@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**********\n"; #endif // DEBUGFRAMER // There is no need to attempt to process headers if no header lines exist. @@ -786,7 +786,7 @@ void BalsaFrame::ProcessHeaderLines() { const size_t key_len = key_end - key_begin; const char c = *key_begin; #if DEBUGFRAMER - LOG(INFO) << "[" << i << "]: " << std::string(key_begin, key_len) + VLOG(0) << "[" << i << "]: " << std::string(key_begin, key_len) << " c: '" << c << "' key_len: " << key_len; #endif // DEBUGFRAMER // If a header begins with either lowercase or uppercase 'c' or 't', then @@ -1011,8 +1011,8 @@ size_t BalsaFrame::ProcessHeaders(const char* message_start, checkpoint = message_current + 1; const char* begin = headers_->OriginalHeaderStreamBegin(); #if DEBUGFRAMER - LOG(INFO) << "First line " << std::string(begin, lines_[0].second); - LOG(INFO) << "is_request_: " << is_request_; + VLOG(0) << "First line " << std::string(begin, lines_[0].second); + VLOG(0) << "is_request_: " << is_request_; #endif ProcessFirstLine(begin, begin + lines_[0].second); if (parse_state_ == BalsaFrameEnums::MESSAGE_FULLY_READ) @@ -1055,8 +1055,8 @@ size_t BalsaFrame::ProcessHeaders(const char* message_start, checkpoint = message_current + 1; const char* begin = headers_->OriginalHeaderStreamBegin(); #if DEBUGFRAMER - LOG(INFO) << "First line " << std::string(begin, lines_[0].second); - LOG(INFO) << "is_request_: " << is_request_; + VLOG(0) << "First line " << std::string(begin, lines_[0].second); + VLOG(0) << "is_request_: " << is_request_; #endif ProcessFirstLine(begin, begin + lines_[0].second); if (parse_state_ == BalsaFrameEnums::MESSAGE_FULLY_READ) @@ -1219,7 +1219,7 @@ size_t BalsaFrame::ProcessInput(const char* input, size_t size) { const char* on_entry = current; const char* end = current + size; #if DEBUGFRAMER - LOG(INFO) << "\n==============" + VLOG(0) << "\n==============" << BalsaFrameEnums::ParseStateToString(parse_state_) << "===============\n"; #endif // DEBUGFRAMER @@ -1514,7 +1514,7 @@ size_t BalsaFrame::ProcessInput(const char* input, size_t size) { // label_reading_content: case BalsaFrameEnums::READING_CONTENT: #if DEBUGFRAMER - LOG(INFO) << "ReadingContent: " << content_length_remaining_; + VLOG(0) << "ReadingContent: " << content_length_remaining_; #endif // DEBUGFRAMER while (content_length_remaining_ && current < end) { // read in the content @@ -1543,14 +1543,14 @@ size_t BalsaFrame::ProcessInput(const char* input, size_t size) { } bottom: #if DEBUGFRAMER - LOG(INFO) << "\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n" + VLOG(0) << "\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n" << std::string(input, current) << "\n$$$$$$$$$$$$$$" << BalsaFrameEnums::ParseStateToString(parse_state_) << "$$$$$$$$$$$$$$$" << " consumed: " << (current - input); if (Error()) { - LOG(INFO) << BalsaFrameEnums::ErrorCodeToString(ErrorCode()); + VLOG(0) << BalsaFrameEnums::ErrorCodeToString(ErrorCode()); } #endif // DEBUGFRAMER return current - input; |