1 // Copyright 2023 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef QUICHE_QUIC_CORE_WEB_TRANSPORT_STATS_H_ 6 #define QUICHE_QUIC_CORE_WEB_TRANSPORT_STATS_H_ 7 8 #include "quiche/quic/core/quic_session.h" 9 #include "quiche/common/platform/api/quiche_export.h" 10 #include "quiche/web_transport/web_transport.h" 11 12 namespace quic { 13 14 QUICHE_EXPORT webtransport::DatagramStats 15 WebTransportDatagramStatsForQuicSession(const QuicSession& session); 16 17 QUICHE_EXPORT webtransport::SessionStats WebTransportStatsForQuicSession( 18 const QuicSession& session); 19 20 } // namespace quic 21 22 #endif // QUICHE_QUIC_CORE_WEB_TRANSPORT_STATS_H_ 23