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

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

Issue 2229553003: Deprecate --quic_socket_walltimestamps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@128998762
Patch Set: Created 4 years, 4 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_flags.cc ('k') | net/tools/quic/quic_packet_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_sent_packet_manager.cc
diff --git a/net/quic/core/quic_sent_packet_manager.cc b/net/quic/core/quic_sent_packet_manager.cc
index 1c6d6c540834da04820b6a6b445152d0586d7c5b..26ad049d15bd1ff046345675fe6fbfebaaa2cd99 100644
--- a/net/quic/core/quic_sent_packet_manager.cc
+++ b/net/quic/core/quic_sent_packet_manager.cc
@@ -762,8 +762,7 @@ bool QuicSentPacketManager::MaybeUpdateRTT(const QuicAckFrame& ack_frame,
QuicTime::Delta send_delta = ack_receive_time - transmission_info.sent_time;
const int kMaxSendDeltaSeconds = 30;
- if (FLAGS_quic_socket_walltimestamps &&
- send_delta.ToSeconds() > kMaxSendDeltaSeconds) {
+ if (send_delta.ToSeconds() > kMaxSendDeltaSeconds) {
// send_delta can be very high if local clock is changed mid-connection.
LOG(WARNING) << "Excessive send delta: " << send_delta.ToSeconds()
<< ", setting to: " << kMaxSendDeltaSeconds
« no previous file with comments | « net/quic/core/quic_flags.cc ('k') | net/tools/quic/quic_packet_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698