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

Unified Diff: net/quic/core/quic_sustained_bandwidth_recorder.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_sustained_bandwidth_recorder.h ('k') | net/quic/core/quic_time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_sustained_bandwidth_recorder.cc
diff --git a/net/quic/core/quic_sustained_bandwidth_recorder.cc b/net/quic/core/quic_sustained_bandwidth_recorder.cc
index d4324e28351f8962eb2cd0ea2308cbe885102fa3..370682837811b287c941eee90b9e97ee787b4dbf 100644
--- a/net/quic/core/quic_sustained_bandwidth_recorder.cc
+++ b/net/quic/core/quic_sustained_bandwidth_recorder.cc
@@ -4,9 +4,9 @@
#include "net/quic/core/quic_sustained_bandwidth_recorder.h"
+#include "base/logging.h"
#include "net/quic/core/quic_bandwidth.h"
#include "net/quic/core/quic_time.h"
-#include "net/quic/platform/api/quic_logging.h"
namespace net {
@@ -27,8 +27,7 @@
QuicTime::Delta srtt) {
if (in_recovery) {
is_recording_ = false;
- QUIC_DVLOG(1) << "Stopped recording at: "
- << estimate_time.ToDebuggingValue();
+ DVLOG(1) << "Stopped recording at: " << estimate_time.ToDebuggingValue();
return;
}
@@ -36,7 +35,7 @@
// This is the first estimate of a new recording period.
start_time_ = estimate_time;
is_recording_ = true;
- QUIC_DVLOG(1) << "Started recording at: " << start_time_.ToDebuggingValue();
+ DVLOG(1) << "Started recording at: " << start_time_.ToDebuggingValue();
return;
}
@@ -46,16 +45,16 @@
has_estimate_ = true;
bandwidth_estimate_recorded_during_slow_start_ = in_slow_start;
bandwidth_estimate_ = bandwidth;
- QUIC_DVLOG(1) << "New sustained bandwidth estimate (KBytes/s): "
- << bandwidth_estimate_.ToKBytesPerSecond();
+ DVLOG(1) << "New sustained bandwidth estimate (KBytes/s): "
+ << bandwidth_estimate_.ToKBytesPerSecond();
}
// Check for an increase in max bandwidth.
if (bandwidth > max_bandwidth_estimate_) {
max_bandwidth_estimate_ = bandwidth;
max_bandwidth_timestamp_ = wall_time.ToUNIXSeconds();
- QUIC_DVLOG(1) << "New max bandwidth estimate (KBytes/s): "
- << max_bandwidth_estimate_.ToKBytesPerSecond();
+ DVLOG(1) << "New max bandwidth estimate (KBytes/s): "
+ << max_bandwidth_estimate_.ToKBytesPerSecond();
}
}
« no previous file with comments | « net/quic/core/quic_sustained_bandwidth_recorder.h ('k') | net/quic/core/quic_time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698