// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_EVENT_LOG_HISTORY_H_ #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_EVENT_LOG_HISTORY_H_ #include <memory> #include <string> #include "base/files/file.h" #include "base/files/file_path.h" #include "base/time/time.h" namespace webrtc_event_logging { // Writes a small history file to disk, which allows us to remember what logs // were captured and uploaded, after they are uploaded (whether successfully or // not), or after they ware pruned (if they expire before an upload opportunity // presents itself). class WebRtcEventLogHistoryFileWriter final { … }; // Reads from disk a small history file and recovers the data from it. class WebRtcEventLogHistoryFileReader final { … }; } // namespace webrtc_event_logging #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_EVENT_LOG_HISTORY_H_