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

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

Issue 1583773006: Remove fakewebrtccommon.h. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@wvoe_apm
Patch Set: removed include Created 4 years, 4 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
« no previous file with comments | « webrtc/media/engine/fakewebrtccommon.h ('k') | webrtc/media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/fakewebrtcvoiceengine.h
diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h
index c8fb9cfe02e6d851fca500ebbe42fdea1148c7b6..9b5440c17b1f5b421626987050478fd893568c85 100644
--- a/webrtc/media/engine/fakewebrtcvoiceengine.h
+++ b/webrtc/media/engine/fakewebrtcvoiceengine.h
@@ -17,12 +17,10 @@
#include "webrtc/base/basictypes.h"
#include "webrtc/base/checks.h"
-#include "webrtc/base/gunit.h"
#include "webrtc/base/stringutils.h"
#include "webrtc/config.h"
#include "webrtc/media/base/codec.h"
#include "webrtc/media/base/rtputils.h"
-#include "webrtc/media/engine/fakewebrtccommon.h"
#include "webrtc/media/engine/webrtcvoe.h"
#include "webrtc/modules/audio_coding/acm2/rent_a_codec.h"
#include "webrtc/modules/audio_processing/include/audio_processing.h"
@@ -38,6 +36,25 @@ static const int kOpusBandwidthFb = 20000;
#define WEBRTC_CHECK_CHANNEL(channel) \
if (channels_.find(channel) == channels_.end()) return -1;
+#define WEBRTC_STUB(method, args) \
+ int method args override { return 0; }
+
+#define WEBRTC_STUB_CONST(method, args) \
+ int method args const override { return 0; }
+
+#define WEBRTC_BOOL_STUB(method, args) \
+ bool method args override { return true; }
+
+#define WEBRTC_BOOL_STUB_CONST(method, args) \
+ bool method args const override { return true; }
+
+#define WEBRTC_VOID_STUB(method, args) \
+ void method args override {}
+
+#define WEBRTC_FUNC(method, args) int method args override
+
+#define WEBRTC_VOID_FUNC(method, args) void method args override
+
class FakeAudioProcessing : public webrtc::AudioProcessing {
public:
FakeAudioProcessing() : experimental_ns_enabled_(false) {}
« no previous file with comments | « webrtc/media/engine/fakewebrtccommon.h ('k') | webrtc/media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698