// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_QUIC_QUIC_CONNECTIVITY_MONITOR_H_ #define NET_QUIC_QUIC_CONNECTIVITY_MONITOR_H_ #include <set> #include "base/memory/raw_ptr.h" #include "base/numerics/clamped_math.h" #include "net/base/network_handle.h" #include "net/quic/quic_chromium_client_session.h" namespace net { // Responsible for monitoring path degrading detection/recovery events on the // default network interface. // Reset all raw observations (reported by sessions) when the default network // is changed, which happens either: // - via OnDefaultNetworkUpdated if handles::NetworkHandle is supported on the // platform; // - via OnIPAddressChanged otherwise. class NET_EXPORT_PRIVATE QuicConnectivityMonitor : public QuicChromiumClientSession::ConnectivityObserver { … }; } // namespace net #endif // NET_QUIC_QUIC_CONNECTIVITY_MONITOR_H_