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

Unified Diff: net/quic/core/quic_crypto_server_stream.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/quic/core/quic_crypto_client_stream.cc ('k') | net/quic/core/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_server_stream.cc
diff --git a/net/quic/core/quic_crypto_server_stream.cc b/net/quic/core/quic_crypto_server_stream.cc
index e08827bdd79972ebb50852cec5a298356dda865b..6bf695118507d4698801950747c303a041cbade7 100644
--- a/net/quic/core/quic_crypto_server_stream.cc
+++ b/net/quic/core/quic_crypto_server_stream.cc
@@ -16,7 +16,6 @@
#include "net/quic/core/quic_flags.h"
#include "net/quic/core/quic_packets.h"
#include "net/quic/core/quic_session.h"
-#include "net/quic/platform/api/quic_logging.h"
#include "net/quic/platform/api/quic_text_utils.h"
using base::StringPiece;
@@ -218,9 +217,9 @@
DCHECK(use_stateless_rejects_if_peer_supported_);
DCHECK(peer_supports_stateless_rejects_);
DCHECK(!handshake_confirmed());
- QUIC_DLOG(INFO) << "Closing connection "
- << session()->connection()->connection_id()
- << " because of a stateless reject.";
+ DVLOG(1) << "Closing connection "
+ << session()->connection()->connection_id()
+ << " because of a stateless reject.";
session()->connection()->CloseConnection(
QUIC_CRYPTO_HANDSHAKE_STATELESS_REJECT, "stateless reject",
ConnectionCloseBehavior::SILENT_CLOSE);
@@ -286,7 +285,7 @@
if (FLAGS_quic_reloadable_flag_enable_async_get_proof) {
if (send_server_config_update_cb_ != nullptr) {
- QUIC_DVLOG(1)
+ DVLOG(1)
<< "Skipped server config update since one is already in progress";
return;
}
@@ -323,12 +322,12 @@
? session()->config()->ReceivedConnectionOptions()
: QuicTagVector()),
&server_config_update_message)) {
- QUIC_DVLOG(1) << "Server: Failed to build server config update (SCUP)!";
- return;
- }
-
- QUIC_DVLOG(1) << "Server: Sending server config update: "
- << server_config_update_message.DebugString();
+ DVLOG(1) << "Server: Failed to build server config update (SCUP)!";
+ return;
+ }
+
+ DVLOG(1) << "Server: Sending server config update: "
+ << server_config_update_message.DebugString();
const QuicData& data = server_config_update_message.GetSerialized();
WriteOrBufferData(StringPiece(data.data(), data.length()), false, nullptr);
@@ -361,12 +360,11 @@
send_server_config_update_cb_ = nullptr;
if (!ok) {
- QUIC_DVLOG(1) << "Server: Failed to build server config update (SCUP)!";
- return;
- }
-
- QUIC_DVLOG(1) << "Server: Sending server config update: "
- << message.DebugString();
+ DVLOG(1) << "Server: Failed to build server config update (SCUP)!";
+ return;
+ }
+
+ DVLOG(1) << "Server: Sending server config update: " << message.DebugString();
const QuicData& data = message.GetSerialized();
WriteOrBufferData(StringPiece(data.data(), data.length()), false, nullptr);
« no previous file with comments | « net/quic/core/quic_crypto_client_stream.cc ('k') | net/quic/core/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698