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

Unified Diff: net/quic/core/quic_packet_creator.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_headers_stream_test.cc ('k') | net/quic/core/quic_packet_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_packet_creator.cc
diff --git a/net/quic/core/quic_packet_creator.cc b/net/quic/core/quic_packet_creator.cc
index 03cb300b1c0fc64a666444b2e618af134ec75a5e..bfcaec9fdfcbbcd08afc8694ed45d4af169ba886 100644
--- a/net/quic/core/quic_packet_creator.cc
+++ b/net/quic/core/quic_packet_creator.cc
@@ -7,6 +7,7 @@
#include <algorithm>
#include <cstdint>
+#include "base/logging.h"
#include "base/macros.h"
#include "net/quic/core/crypto/crypto_protocol.h"
#include "net/quic/core/quic_data_writer.h"
@@ -14,7 +15,6 @@
#include "net/quic/core/quic_utils.h"
#include "net/quic/platform/api/quic_aligned.h"
#include "net/quic/platform/api/quic_bug_tracker.h"
-#include "net/quic/platform/api/quic_logging.h"
using base::StringPiece;
using std::string;
@@ -383,7 +383,7 @@
CopyToBuffer(iov, iov_offset, bytes_consumed, stream_buffer.get());
std::unique_ptr<QuicStreamFrame> frame(new QuicStreamFrame(
id, set_fin, stream_offset, bytes_consumed, std::move(stream_buffer)));
- QUIC_DVLOG(1) << "Adding frame: " << *frame;
+ DVLOG(1) << "Adding frame: " << *frame;
// TODO(ianswett): AppendTypeByte and AppendStreamFrame could be optimized
// into one method that takes a QuicStreamFrame, if warranted.
@@ -567,7 +567,7 @@
bool QuicPacketCreator::AddFrame(const QuicFrame& frame,
bool save_retransmittable_frames) {
- QUIC_DVLOG(1) << "Adding frame: " << frame;
+ DVLOG(1) << "Adding frame: " << frame;
if (frame.type == STREAM_FRAME &&
frame.stream_frame->stream_id != kCryptoStreamId &&
packet_.encryption_level == ENCRYPTION_NONE) {
« no previous file with comments | « net/quic/core/quic_headers_stream_test.cc ('k') | net/quic/core/quic_packet_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698