Adopt absl::string_view in modules/audio_coding/
Bug: webrtc:13579 Change-Id: Ifec66fb6ba9724d18539de7245a358c2d13c7939 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/268547 Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37573}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
761072f68e
commit
714e3cbb48
@ -14,6 +14,7 @@
|
||||
#include <deque>
|
||||
#include <string>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/neteq/neteq.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -126,7 +127,7 @@ class StatisticsCalculator {
|
||||
|
||||
class PeriodicUmaLogger {
|
||||
public:
|
||||
PeriodicUmaLogger(const std::string& uma_name,
|
||||
PeriodicUmaLogger(absl::string_view uma_name,
|
||||
int report_interval_ms,
|
||||
int max_value);
|
||||
virtual ~PeriodicUmaLogger();
|
||||
@ -145,7 +146,7 @@ class StatisticsCalculator {
|
||||
|
||||
class PeriodicUmaCount final : public PeriodicUmaLogger {
|
||||
public:
|
||||
PeriodicUmaCount(const std::string& uma_name,
|
||||
PeriodicUmaCount(absl::string_view uma_name,
|
||||
int report_interval_ms,
|
||||
int max_value);
|
||||
~PeriodicUmaCount() override;
|
||||
@ -161,7 +162,7 @@ class StatisticsCalculator {
|
||||
|
||||
class PeriodicUmaAverage final : public PeriodicUmaLogger {
|
||||
public:
|
||||
PeriodicUmaAverage(const std::string& uma_name,
|
||||
PeriodicUmaAverage(absl::string_view uma_name,
|
||||
int report_interval_ms,
|
||||
int max_value);
|
||||
~PeriodicUmaAverage() override;
|
||||
|
||||
Reference in New Issue
Block a user