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

Unified Diff: webrtc/modules/audio_coding/main/acm2/codec_owner.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_owner.h
diff --git a/webrtc/modules/audio_coding/main/acm2/codec_owner.h b/webrtc/modules/audio_coding/main/acm2/codec_owner.h
index 2468c3ce00ebd2baf362e9db167c2929bd6060a3..909d93f0ea0f87bb6c8d93788c792c781dc50f7b 100644
--- a/webrtc/modules/audio_coding/main/acm2/codec_owner.h
+++ b/webrtc/modules/audio_coding/main/acm2/codec_owner.h
@@ -24,9 +24,11 @@ class AudioDecoder;
namespace acm2 {
+class DelayedLogger;
+
class CodecOwner {
public:
- CodecOwner();
+ CodecOwner(DelayedLogger* bitrate_logger);
~CodecOwner();
void SetEncoders(const CodecInst& speech_inst,
@@ -73,6 +75,8 @@ class CodecOwner {
rtc::scoped_ptr<AudioEncoder> cng_encoder_;
rtc::scoped_ptr<AudioEncoder> red_encoder_;
+ DelayedLogger* const bitrate_logger_;
+
DISALLOW_COPY_AND_ASSIGN(CodecOwner);
};

Powered by Google App Engine
This is Rietveld 408576698