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

Unified Diff: webrtc/media/engine/fakewebrtcvoiceengine.h

Issue 2433153003: New statistics interface for APM (Closed)
Patch Set: Created 4 years, 2 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/media/engine/fakewebrtcvoiceengine.h
diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h
index e0e71fb8002cd8eff7e37b6257dd575ff1157fb5..b0ad4fd5c0db40b69679a14c03688974c726e270 100644
--- a/webrtc/media/engine/fakewebrtcvoiceengine.h
+++ b/webrtc/media/engine/fakewebrtcvoiceengine.h
@@ -51,6 +51,9 @@ static const int kOpusBandwidthFb = 20000;
#define WEBRTC_VOID_STUB(method, args) \
void method args override {}
+#define WEBRTC_VOID_STUB_CONST(method, args) \
+ void method args const override {}
+
#define WEBRTC_FUNC(method, args) int method args override
#define WEBRTC_VOID_FUNC(method, args) void method args override
@@ -120,6 +123,10 @@ class FakeAudioProcessing : public webrtc::AudioProcessing {
WEBRTC_STUB(StartDebugRecordingForPlatformFile, (rtc::PlatformFile handle));
WEBRTC_STUB(StopDebugRecording, ());
WEBRTC_VOID_STUB(UpdateHistogramsOnCallEnd, ());
+ WEBRTC_VOID_STUB(SetStatisticsEnabled, (bool enabled));
+ WEBRTC_VOID_STUB_CONST(GetStatistics,
+ (webrtc::AudioProcessing::AudioProcessingStatistics *
+ stats));
webrtc::EchoCancellation* echo_cancellation() const override { return NULL; }
webrtc::EchoControlMobile* echo_control_mobile() const override {
return NULL;

Powered by Google App Engine
This is Rietveld 408576698