OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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_coding/audio_network_adaptor/debug_dump_writer.h" | 11 #include "webrtc/modules/audio_coding/audio_network_adaptor/debug_dump_writer.h" |
12 | 12 |
13 #include "webrtc/rtc_base/checks.h" | 13 #include "webrtc/base/checks.h" |
14 #include "webrtc/rtc_base/ignore_wundef.h" | 14 #include "webrtc/base/ignore_wundef.h" |
15 #include "webrtc/rtc_base/protobuf_utils.h" | 15 #include "webrtc/base/protobuf_utils.h" |
16 | 16 |
17 #if WEBRTC_ENABLE_PROTOBUF | 17 #if WEBRTC_ENABLE_PROTOBUF |
18 RTC_PUSH_IGNORING_WUNDEF() | 18 RTC_PUSH_IGNORING_WUNDEF() |
19 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 19 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
20 #include "external/webrtc/webrtc/modules/audio_coding/audio_network_adaptor/debu
g_dump.pb.h" | 20 #include "external/webrtc/webrtc/modules/audio_coding/audio_network_adaptor/debu
g_dump.pb.h" |
21 #else | 21 #else |
22 #include "webrtc/modules/audio_coding/audio_network_adaptor/debug_dump.pb.h" | 22 #include "webrtc/modules/audio_coding/audio_network_adaptor/debug_dump.pb.h" |
23 #endif | 23 #endif |
24 RTC_POP_IGNORING_WUNDEF() | 24 RTC_POP_IGNORING_WUNDEF() |
25 #endif | 25 #endif |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 controller_manager_config); | 156 controller_manager_config); |
157 DumpEventToFile(event, dump_file_.get()); | 157 DumpEventToFile(event, dump_file_.get()); |
158 } | 158 } |
159 #endif // WEBRTC_ENABLE_PROTOBUF | 159 #endif // WEBRTC_ENABLE_PROTOBUF |
160 | 160 |
161 std::unique_ptr<DebugDumpWriter> DebugDumpWriter::Create(FILE* file_handle) { | 161 std::unique_ptr<DebugDumpWriter> DebugDumpWriter::Create(FILE* file_handle) { |
162 return std::unique_ptr<DebugDumpWriter>(new DebugDumpWriterImpl(file_handle)); | 162 return std::unique_ptr<DebugDumpWriter>(new DebugDumpWriterImpl(file_handle)); |
163 } | 163 } |
164 | 164 |
165 } // namespace webrtc | 165 } // namespace webrtc |
OLD | NEW |