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

Side by Side Diff: webrtc/modules/audio_processing/audio_processing_performance_unittest.cc

Issue 1753293002: Safe numeric library: base/numerics (copied from Chromium) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase with master + correct new safe_conversions.h include Created 4 years, 9 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
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 #include "webrtc/modules/audio_processing/audio_processing_impl.h" 10 #include "webrtc/modules/audio_processing/audio_processing_impl.h"
11 11
12 #include <math.h> 12 #include <math.h>
13 13
14 #include <algorithm> 14 #include <algorithm>
15 #include <memory> 15 #include <memory>
16 #include <vector> 16 #include <vector>
17 17
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "webrtc/base/array_view.h" 19 #include "webrtc/base/array_view.h"
20 #include "webrtc/base/atomicops.h" 20 #include "webrtc/base/atomicops.h"
21 #include "webrtc/base/numerics/safe_conversions.h"
21 #include "webrtc/base/platform_thread.h" 22 #include "webrtc/base/platform_thread.h"
22 #include "webrtc/base/random.h" 23 #include "webrtc/base/random.h"
23 #include "webrtc/base/safe_conversions.h"
24 #include "webrtc/config.h" 24 #include "webrtc/config.h"
25 #include "webrtc/modules/audio_processing/test/test_utils.h" 25 #include "webrtc/modules/audio_processing/test/test_utils.h"
26 #include "webrtc/modules/include/module_common_types.h" 26 #include "webrtc/modules/include/module_common_types.h"
27 #include "webrtc/system_wrappers/include/clock.h" 27 #include "webrtc/system_wrappers/include/clock.h"
28 #include "webrtc/system_wrappers/include/event_wrapper.h" 28 #include "webrtc/system_wrappers/include/event_wrapper.h"
29 #include "webrtc/system_wrappers/include/sleep.h" 29 #include "webrtc/system_wrappers/include/sleep.h"
30 #include "webrtc/test/testsupport/perf_test.h" 30 #include "webrtc/test/testsupport/perf_test.h"
31 31
32 namespace webrtc { 32 namespace webrtc {
33 33
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 // Run test and verify that it did not time out. 708 // Run test and verify that it did not time out.
709 EXPECT_EQ(kEventSignaled, Run()); 709 EXPECT_EQ(kEventSignaled, Run());
710 } 710 }
711 711
712 INSTANTIATE_TEST_CASE_P( 712 INSTANTIATE_TEST_CASE_P(
713 AudioProcessingPerformanceTest, 713 AudioProcessingPerformanceTest,
714 CallSimulator, 714 CallSimulator,
715 ::testing::ValuesIn(SimulationConfig::GenerateSimulationConfigs())); 715 ::testing::ValuesIn(SimulationConfig::GenerateSimulationConfigs()));
716 716
717 } // namespace webrtc 717 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698