| 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 370682837811b287c941eee90b9e97ee787b4dbf..d4324e28351f8962eb2cd0ea2308cbe885102fa3 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,7 +27,8 @@ void QuicSustainedBandwidthRecorder::RecordEstimate(bool in_recovery,
|
| QuicTime::Delta srtt) {
|
| if (in_recovery) {
|
| is_recording_ = false;
|
| - DVLOG(1) << "Stopped recording at: " << estimate_time.ToDebuggingValue();
|
| + QUIC_DVLOG(1) << "Stopped recording at: "
|
| + << estimate_time.ToDebuggingValue();
|
| return;
|
| }
|
|
|
| @@ -35,7 +36,7 @@ void QuicSustainedBandwidthRecorder::RecordEstimate(bool in_recovery,
|
| // This is the first estimate of a new recording period.
|
| start_time_ = estimate_time;
|
| is_recording_ = true;
|
| - DVLOG(1) << "Started recording at: " << start_time_.ToDebuggingValue();
|
| + QUIC_DVLOG(1) << "Started recording at: " << start_time_.ToDebuggingValue();
|
| return;
|
| }
|
|
|
| @@ -45,16 +46,16 @@ void QuicSustainedBandwidthRecorder::RecordEstimate(bool in_recovery,
|
| has_estimate_ = true;
|
| bandwidth_estimate_recorded_during_slow_start_ = in_slow_start;
|
| bandwidth_estimate_ = bandwidth;
|
| - DVLOG(1) << "New sustained bandwidth estimate (KBytes/s): "
|
| - << bandwidth_estimate_.ToKBytesPerSecond();
|
| + QUIC_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();
|
| - DVLOG(1) << "New max bandwidth estimate (KBytes/s): "
|
| - << max_bandwidth_estimate_.ToKBytesPerSecond();
|
| + QUIC_DVLOG(1) << "New max bandwidth estimate (KBytes/s): "
|
| + << max_bandwidth_estimate_.ToKBytesPerSecond();
|
| }
|
| }
|
|
|
|
|