// 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 REMOTING_PROTOCOL_WEBRTC_EVENT_LOG_DATA_H_ #define REMOTING_PROTOCOL_WEBRTC_EVENT_LOG_DATA_H_ #include <cstdint> #include <string_view> #include <vector> #include "base/containers/circular_deque.h" namespace remoting::protocol { // A data store which records the most recent RTC event log data. This is // written to by an RTCEventLogOutput instance, which is owned by the // PeerConnection (but the data itself is owned by the caller). In order to // keep the most recent events (but keep the amount of memory-allocations // reasonable), the data is maintained as a circular list of sections. class WebrtcEventLogData { … }; } // namespace remoting::protocol #endif // REMOTING_PROTOCOL_WEBRTC_EVENT_LOG_DATA_H_