Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: webrtc/modules/audio_coding/main/acm2/codec_manager.h

Issue 1203803004: Adding a new ChangeLogger class to handle UMA logging of bitrates (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/main/acm2/codec_manager.h
diff --git a/webrtc/modules/audio_coding/main/acm2/codec_manager.h b/webrtc/modules/audio_coding/main/acm2/codec_manager.h
index bb9545d889bd5eebd45084e3e83ff734d87a9f56..efa079b875ca6d4671d19edba0d42664f852fa7d 100644
--- a/webrtc/modules/audio_coding/main/acm2/codec_manager.h
+++ b/webrtc/modules/audio_coding/main/acm2/codec_manager.h
@@ -26,9 +26,11 @@ class AudioEncoderMutable;
namespace acm2 {
+class DelayedLogger;
+
class CodecManager final {
public:
- CodecManager();
+ CodecManager(DelayedLogger* bitrate_logger);
~CodecManager();
int RegisterEncoder(const CodecInst& send_codec);
@@ -82,6 +84,7 @@ class CodecManager final {
bool red_enabled_;
bool codec_fec_enabled_;
CodecOwner codec_owner_;
+ DelayedLogger* const bitrate_logger_;
DISALLOW_COPY_AND_ASSIGN(CodecManager);
};

Powered by Google App Engine
This is Rietveld 408576698