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

Side by Side Diff: webrtc/modules/audio_processing/aec3/matched_filter_unittest.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/audio_processing/aec3/matched_filter.h" 11 #include "webrtc/modules/audio_processing/aec3/matched_filter.h"
12 12
13 #include "webrtc/typedefs.h" 13 #include "webrtc/typedefs.h"
14 #if defined(WEBRTC_ARCH_X86_FAMILY) 14 #if defined(WEBRTC_ARCH_X86_FAMILY)
15 #include <emmintrin.h> 15 #include <emmintrin.h>
16 #endif 16 #endif
17 #include <algorithm> 17 #include <algorithm>
18 #include <sstream> 18 #include <sstream>
19 #include <string> 19 #include <string>
20 20
21 #include "webrtc/base/random.h"
21 #include "webrtc/modules/audio_processing/aec3/aec3_common.h" 22 #include "webrtc/modules/audio_processing/aec3/aec3_common.h"
22 #include "webrtc/modules/audio_processing/aec3/decimator_by_4.h" 23 #include "webrtc/modules/audio_processing/aec3/decimator_by_4.h"
23 #include "webrtc/modules/audio_processing/aec3/render_delay_buffer.h" 24 #include "webrtc/modules/audio_processing/aec3/render_delay_buffer.h"
24 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" 25 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h"
25 #include "webrtc/modules/audio_processing/test/echo_canceller_test_tools.h" 26 #include "webrtc/modules/audio_processing/test/echo_canceller_test_tools.h"
26 #include "webrtc/rtc_base/random.h"
27 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" 27 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h"
28 #include "webrtc/test/gtest.h" 28 #include "webrtc/test/gtest.h"
29 29
30 namespace webrtc { 30 namespace webrtc {
31 namespace aec3 { 31 namespace aec3 {
32 namespace { 32 namespace {
33 33
34 std::string ProduceDebugText(size_t delay) { 34 std::string ProduceDebugText(size_t delay) {
35 std::ostringstream ss; 35 std::ostringstream ss;
36 ss << "Delay: " << delay; 36 ss << "Delay: " << delay;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 // Verifies the check for non-null data dumper. 289 // Verifies the check for non-null data dumper.
290 TEST(MatchedFilter, NullDataDumper) { 290 TEST(MatchedFilter, NullDataDumper) {
291 EXPECT_DEATH(MatchedFilter(nullptr, DetectOptimization(), 1, 1, 1), ""); 291 EXPECT_DEATH(MatchedFilter(nullptr, DetectOptimization(), 1, 1, 1), "");
292 } 292 }
293 293
294 #endif 294 #endif
295 295
296 } // namespace aec3 296 } // namespace aec3
297 } // namespace webrtc 297 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698