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

Unified Diff: net/tools/quic/quic_client_base.cc

Issue 2629723003: Revert of Add quic_logging (Closed)
Patch Set: Created 3 years, 11 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 | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_base.cc
diff --git a/net/tools/quic/quic_client_base.cc b/net/tools/quic/quic_client_base.cc
index dc07949d3597a465a7cd93d7e7818c5de04a03aa..b1ada21d6c592e8a1f37e98d03e0eaf73347b93a 100644
--- a/net/tools/quic/quic_client_base.cc
+++ b/net/tools/quic/quic_client_base.cc
@@ -7,7 +7,6 @@
#include "net/quic/core/crypto/quic_random.h"
#include "net/quic/core/quic_server_id.h"
#include "net/quic/core/spdy_utils.h"
-#include "net/quic/platform/api/quic_logging.h"
#include "net/quic/platform/api/quic_text_utils.h"
using base::StringPiece;
@@ -69,7 +68,7 @@
auto status = response_headers.find(":status");
if (status == response_headers.end() ||
!StringToInt(status->second, &latest_response_code_)) {
- QUIC_LOG(ERROR) << "Invalid response headers";
+ LOG(ERROR) << "Invalid response headers";
}
latest_response_headers_ = response_headers.DebugString();
latest_response_header_block_ = response_headers.Clone();
@@ -272,8 +271,8 @@
if (!connected() &&
session()->error() == QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT) {
DCHECK(FLAGS_quic_reloadable_flag_enable_quic_stateless_reject_support);
- QUIC_DLOG(INFO) << "Detected stateless reject while waiting for events. "
- << "Attempting to reconnect.";
+ DVLOG(1) << "Detected stateless reject while waiting for events. "
+ << "Attempting to reconnect.";
Connect();
}
@@ -317,7 +316,7 @@
}
// If the handshake fails due to a timeout, the connection will be closed.
- QUIC_LOG_IF(ERROR, !connected()) << "Handshake with server failed.";
+ LOG_IF(ERROR, !connected()) << "Handshake with server failed.";
return connected();
}
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698