| Index: webrtc/common_audio/mocks/mock_smoothing_filter.h
|
| diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h b/webrtc/common_audio/mocks/mock_smoothing_filter.h
|
| similarity index 60%
|
| rename from webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h
|
| rename to webrtc/common_audio/mocks/mock_smoothing_filter.h
|
| index 745ca98ea6a3c519ae0e55b582cbc2ebe01f70d7..6b2991b22f91d736fa1e5849fc94d5b8573716db 100644
|
| --- a/webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h
|
| +++ b/webrtc/common_audio/mocks/mock_smoothing_filter.h
|
| @@ -8,22 +8,20 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_SMOOTHING_FILTER_H_
|
| -#define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_SMOOTHING_FILTER_H_
|
| +#ifndef WEBRTC_COMMON_AUDIO_MOCKS_MOCK_SMOOTHING_FILTER_H_
|
| +#define WEBRTC_COMMON_AUDIO_MOCKS_MOCK_SMOOTHING_FILTER_H_
|
|
|
| -#include "webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.h"
|
| +#include "webrtc/common_audio/smoothing_filter.h"
|
| #include "webrtc/test/gmock.h"
|
|
|
| namespace webrtc {
|
|
|
| class MockSmoothingFilter : public SmoothingFilter {
|
| public:
|
| - virtual ~MockSmoothingFilter() { Die(); }
|
| - MOCK_METHOD0(Die, void());
|
| MOCK_METHOD1(AddSample, void(float));
|
| MOCK_CONST_METHOD0(GetAverage, rtc::Optional<float>());
|
| };
|
|
|
| } // namespace webrtc
|
|
|
| -#endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_MOCK_MOCK_SMOOTHING_FILTER_H_
|
| +#endif // WEBRTC_COMMON_AUDIO_MOCKS_MOCK_SMOOTHING_FILTER_H_
|
|
|