Move mock_nonlinear_beamformer to only be a header
R=andrew@webrtc.org
Review URL: https://codereview.webrtc.org/1305303003 .
Cr-Commit-Position: refs/heads/master@{#9781}
diff --git a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc b/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc
deleted file mode 100644
index aecb0ec..0000000
--- a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2015 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.
- */
-
-#include "webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h"
-
-#include <vector>
-
-namespace webrtc {
-
-MockNonlinearBeamformer::MockNonlinearBeamformer(
- const std::vector<Point>& array_geometry)
- : NonlinearBeamformer(array_geometry) {
-}
-
-} // namespace webrtc
diff --git a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h b/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h
index 79e335b..e2b4417 100644
--- a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h
+++ b/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h
@@ -20,7 +20,8 @@
class MockNonlinearBeamformer : public NonlinearBeamformer {
public:
- explicit MockNonlinearBeamformer(const std::vector<Point>& array_geometry);
+ explicit MockNonlinearBeamformer(const std::vector<Point>& array_geometry)
+ : NonlinearBeamformer(array_geometry) {}
MOCK_METHOD2(Initialize, void(int chunk_size_ms, int sample_rate_hz));
MOCK_METHOD2(ProcessChunk, void(const ChannelBuffer<float>& input,
diff --git a/webrtc/modules/modules.gyp b/webrtc/modules/modules.gyp
index f114fea..65921a5 100644
--- a/webrtc/modules/modules.gyp
+++ b/webrtc/modules/modules.gyp
@@ -167,7 +167,6 @@
'audio_processing/beamformer/complex_matrix_unittest.cc',
'audio_processing/beamformer/covariance_matrix_generator_unittest.cc',
'audio_processing/beamformer/matrix_unittest.cc',
- 'audio_processing/beamformer/mock_nonlinear_beamformer.cc',
'audio_processing/beamformer/mock_nonlinear_beamformer.h',
'audio_processing/echo_cancellation_impl_unittest.cc',
'audio_processing/intelligibility/intelligibility_enhancer_unittest.cc',