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

Side by Side Diff: webrtc/modules/audio_processing/test/test_utils.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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) 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 10
11 #include <utility> 11 #include <utility>
12 12
13 #include "webrtc/base/checks.h"
14 #include "webrtc/modules/audio_processing/test/test_utils.h" 13 #include "webrtc/modules/audio_processing/test/test_utils.h"
14 #include "webrtc/rtc_base/checks.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 17
18 RawFile::RawFile(const std::string& filename) 18 RawFile::RawFile(const std::string& filename)
19 : file_handle_(fopen(filename.c_str(), "wb")) {} 19 : file_handle_(fopen(filename.c_str(), "wb")) {}
20 20
21 RawFile::~RawFile() { 21 RawFile::~RawFile() {
22 fclose(file_handle_); 22 fclose(file_handle_);
23 } 23 }
24 24
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 std::vector<Point> ParseArrayGeometry(const std::string& mic_positions, 150 std::vector<Point> ParseArrayGeometry(const std::string& mic_positions,
151 size_t num_mics) { 151 size_t num_mics) {
152 std::vector<Point> result = ParseArrayGeometry(mic_positions); 152 std::vector<Point> result = ParseArrayGeometry(mic_positions);
153 RTC_CHECK_EQ(result.size(), num_mics) 153 RTC_CHECK_EQ(result.size(), num_mics)
154 << "Could not parse mic_positions or incorrect number of points."; 154 << "Could not parse mic_positions or incorrect number of points.";
155 return result; 155 return result;
156 } 156 }
157 157
158 } // namespace webrtc 158 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/test/test_utils.h ('k') | webrtc/modules/audio_processing/test/unpack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698