Chromium Code Reviews| Index: webrtc/modules/audio_processing/aec_dumper/no_pb_aec_dumper.cc |
| diff --git a/webrtc/modules/audio_processing/aec_dumper/no_pb_aec_dumper.cc b/webrtc/modules/audio_processing/aec_dumper/no_pb_aec_dumper.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..40ec41a1abae5c6fe01f695ac724bc5764c24cf1 |
| --- /dev/null |
| +++ b/webrtc/modules/audio_processing/aec_dumper/no_pb_aec_dumper.cc |
| @@ -0,0 +1,28 @@ |
| +/* |
| + * Copyright (c) 2017 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/aec_dumper/aec_dumper.h" |
|
peah-webrtc
2017/03/31 07:24:43
As I see it, there are two alternatives to include
aleloi
2017/04/06 15:46:11
I would almost always prefer virtual functions to
|
| + |
| +#include "webrtc/modules/audio_processing/aec_dumper/null_aec_dumper.h" |
| + |
| +namespace webrtc { |
| + |
| +std::unique_ptr<AecDumper> AecDumper::Create(std::string file_name, |
| + int64_t max_log_size_bytes, |
| + rtc::TaskQueue* worker_queue) { |
| + return AecDumper::CreateNullDumper(); |
| +} |
| + |
| +std::unique_ptr<AecDumper> AecDumper::Create(FILE* handle, |
| + int64_t max_log_size_bytes, |
| + rtc::TaskQueue* worker_queue) { |
| + return AecDumper::CreateNullDumper(); |
| +} |
| +} // namespace webrtc |