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

Unified Diff: net/quic/core/quic_crypto_stream.cc

Issue 2631613002: 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_server_stream_test.cc ('k') | net/quic/core/quic_data_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_stream.cc
diff --git a/net/quic/core/quic_crypto_stream.cc b/net/quic/core/quic_crypto_stream.cc
index 814b2683a0ccd4b2d2745f8090bbebf44312c868..fc6a4ce2c279ac8db4b0a3e9f15b9d1b058518c5 100644
--- a/net/quic/core/quic_crypto_stream.cc
+++ b/net/quic/core/quic_crypto_stream.cc
@@ -13,7 +13,6 @@
#include "net/quic/core/quic_flags.h"
#include "net/quic/core/quic_session.h"
#include "net/quic/core/quic_utils.h"
-#include "net/quic/platform/api/quic_logging.h"
using std::string;
using base::StringPiece;
@@ -49,13 +48,13 @@
}
void QuicCryptoStream::OnError(CryptoFramer* framer) {
- QUIC_DLOG(WARNING) << "Error processing crypto data: "
- << QuicErrorCodeToString(framer->error());
+ DLOG(WARNING) << "Error processing crypto data: "
+ << QuicErrorCodeToString(framer->error());
}
void QuicCryptoStream::OnHandshakeMessage(
const CryptoHandshakeMessage& message) {
- QUIC_DVLOG(1) << ENDPOINT << "Received " << message.DebugString();
+ DVLOG(1) << ENDPOINT << "Received " << message.DebugString();
session()->OnCryptoHandshakeMessageReceived(message);
}
@@ -85,7 +84,7 @@
void QuicCryptoStream::SendHandshakeMessage(
const CryptoHandshakeMessage& message) {
- QUIC_DVLOG(1) << ENDPOINT << "Sending " << message.DebugString();
+ DVLOG(1) << ENDPOINT << "Sending " << message.DebugString();
session()->connection()->NeuterUnencryptedPackets();
session()->OnCryptoHandshakeMessageSent(message);
const QuicData& data = message.GetSerialized();
@@ -97,8 +96,8 @@
size_t result_len,
string* result) const {
if (!handshake_confirmed()) {
- QUIC_DLOG(ERROR) << "ExportKeyingMaterial was called before forward-secure"
- << "encryption was established.";
+ DLOG(ERROR) << "ExportKeyingMaterial was called before forward-secure"
+ << "encryption was established.";
return false;
}
return CryptoUtils::ExportKeyingMaterial(
« no previous file with comments | « net/quic/core/quic_crypto_server_stream_test.cc ('k') | net/quic/core/quic_data_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698