Remove fakewebrtccommon.h.
BUG=webrtc:4690 Review-Url: https://codereview.webrtc.org/1583773006 Cr-Commit-Position: refs/heads/master@{#13993}
This commit is contained in:
@ -243,7 +243,6 @@ if (rtc_include_tests) {
|
||||
"base/testutils.h",
|
||||
"engine/fakewebrtccall.cc",
|
||||
"engine/fakewebrtccall.h",
|
||||
"engine/fakewebrtccommon.h",
|
||||
"engine/fakewebrtcdeviceinfo.h",
|
||||
"engine/fakewebrtcvcmfactory.h",
|
||||
"engine/fakewebrtcvideocapturemodule.h",
|
||||
|
||||
@ -1,42 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCOMMON_H_
|
||||
#define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCOMMON_H_
|
||||
|
||||
#include "webrtc/base/common.h"
|
||||
|
||||
namespace cricket {
|
||||
|
||||
#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_FUNC_CONST(method, args) int method args const override
|
||||
|
||||
#define WEBRTC_BOOL_FUNC(method, args) bool method args override
|
||||
|
||||
#define WEBRTC_VOID_FUNC(method, args) void method args override
|
||||
} // namespace cricket
|
||||
|
||||
#endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCOMMON_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) {}
|
||||
|
||||
@ -244,7 +244,6 @@
|
||||
'base/testutils.h',
|
||||
'engine/fakewebrtccall.cc',
|
||||
'engine/fakewebrtccall.h',
|
||||
'engine/fakewebrtccommon.h',
|
||||
'engine/fakewebrtcdeviceinfo.h',
|
||||
'engine/fakewebrtcvcmfactory.h',
|
||||
'engine/fakewebrtcvideocapturemodule.h',
|
||||
|
||||
Reference in New Issue
Block a user