// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_AUDIO_AUDIO_DEVICE_STATS_REPORTER_H_ #define MEDIA_AUDIO_AUDIO_DEVICE_STATS_REPORTER_H_ #include <list> #include <string> #include "base/functional/callback.h" #include "base/time/time.h" #include "media/base/audio_glitch_info.h" #include "media/base/audio_latency.h" #include "media/base/audio_parameters.h" #include "media/base/media_export.h" namespace media { // Uploads audio UMA stats at the AudioOutputDevice/AudioInputDevice level. // Uploads Short stats on destruction, for streams shorter than 1000 callbacks. // For streams of at least 1000 callbacks it uploads Interval stats every 1000 // callbacks and drops any unuploaded stats on destruction. class MEDIA_EXPORT AudioDeviceStatsReporter { … }; } // namespace media #endif // MEDIA_AUDIO_AUDIO_DEVICE_STATS_REPORTER_H_