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

Side by Side Diff: webrtc/modules/audio_processing/aec_dump/aec_dump_impl.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) 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 <utility> 11 #include <utility>
12 12
13 #include "webrtc/modules/audio_processing/aec_dump/aec_dump_impl.h" 13 #include "webrtc/modules/audio_processing/aec_dump/aec_dump_impl.h"
14 14
15 #include "webrtc/base/checks.h"
16 #include "webrtc/base/event.h"
17 #include "webrtc/base/ptr_util.h"
18 #include "webrtc/modules/audio_processing/aec_dump/aec_dump_factory.h" 15 #include "webrtc/modules/audio_processing/aec_dump/aec_dump_factory.h"
16 #include "webrtc/rtc_base/checks.h"
17 #include "webrtc/rtc_base/event.h"
18 #include "webrtc/rtc_base/ptr_util.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 namespace { 22 namespace {
23 void CopyFromConfigToEvent(const webrtc::InternalAPMConfig& config, 23 void CopyFromConfigToEvent(const webrtc::InternalAPMConfig& config,
24 webrtc::audioproc::Config* pb_cfg) { 24 webrtc::audioproc::Config* pb_cfg) {
25 pb_cfg->set_aec_enabled(config.aec_enabled); 25 pb_cfg->set_aec_enabled(config.aec_enabled);
26 pb_cfg->set_aec_delay_agnostic_enabled(config.aec_delay_agnostic_enabled); 26 pb_cfg->set_aec_delay_agnostic_enabled(config.aec_delay_agnostic_enabled);
27 pb_cfg->set_aec_drift_compensation_enabled( 27 pb_cfg->set_aec_drift_compensation_enabled(
28 config.aec_drift_compensation_enabled); 28 config.aec_drift_compensation_enabled);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 RTC_DCHECK(worker_queue); 199 RTC_DCHECK(worker_queue);
200 RTC_DCHECK(handle); 200 RTC_DCHECK(handle);
201 std::unique_ptr<FileWrapper> debug_file(FileWrapper::Create()); 201 std::unique_ptr<FileWrapper> debug_file(FileWrapper::Create());
202 if (!debug_file->OpenFromFileHandle(handle)) { 202 if (!debug_file->OpenFromFileHandle(handle)) {
203 return nullptr; 203 return nullptr;
204 } 204 }
205 return rtc::MakeUnique<AecDumpImpl>(std::move(debug_file), max_log_size_bytes, 205 return rtc::MakeUnique<AecDumpImpl>(std::move(debug_file), max_log_size_bytes,
206 worker_queue); 206 worker_queue);
207 } 207 }
208 } // namespace webrtc 208 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698