#include "quiche/quic/core/quic_idle_network_detector.h"
#include <algorithm>
#include "quiche/quic/core/quic_constants.h"
#include "quiche/quic/core/quic_time.h"
#include "quiche/quic/platform/api/quic_flag_utils.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace quic {
namespace {
}
QuicIdleNetworkDetector::QuicIdleNetworkDetector(Delegate* delegate,
QuicTime now, QuicAlarm* alarm)
: … { … }
void QuicIdleNetworkDetector::OnAlarm() { … }
void QuicIdleNetworkDetector::SetTimeouts(
QuicTime::Delta handshake_timeout, QuicTime::Delta idle_network_timeout) { … }
void QuicIdleNetworkDetector::StopDetection() { … }
void QuicIdleNetworkDetector::OnPacketSent(QuicTime now,
QuicTime::Delta pto_delay) { … }
void QuicIdleNetworkDetector::OnPacketReceived(QuicTime now) { … }
void QuicIdleNetworkDetector::SetAlarm() { … }
void QuicIdleNetworkDetector::MaybeSetAlarmOnSentPacket(
QuicTime::Delta pto_delay) { … }
QuicTime QuicIdleNetworkDetector::GetIdleNetworkDeadline() const { … }
}