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

Side by Side Diff: webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h

Issue 2553413002: Pass event log to ANA. (Closed)
Patch Set: Rebased Created 3 years, 11 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 | « no previous file | webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.cc » ('j') | 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) 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 #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPTOR_ IMPL_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPTOR_ IMPL_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPTOR_ IMPL_H_ 12 #define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPTOR_ IMPL_H_
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/base/constructormagic.h" 16 #include "webrtc/base/constructormagic.h"
17 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller.h" 17 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller.h"
18 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h " 18 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h "
19 #include "webrtc/modules/audio_coding/audio_network_adaptor/debug_dump_writer.h" 19 #include "webrtc/modules/audio_coding/audio_network_adaptor/debug_dump_writer.h"
20 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ k_adaptor.h" 20 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ k_adaptor.h"
21 #include "webrtc/system_wrappers/include/clock.h" 21 #include "webrtc/system_wrappers/include/clock.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 class RtcEventLog;
26
25 class AudioNetworkAdaptorImpl final : public AudioNetworkAdaptor { 27 class AudioNetworkAdaptorImpl final : public AudioNetworkAdaptor {
26 public: 28 public:
27 struct Config { 29 struct Config {
28 Config(); 30 Config();
29 ~Config(); 31 ~Config();
32 RtcEventLog* event_log;
30 const Clock* clock; 33 const Clock* clock;
31 }; 34 };
32 35
33 AudioNetworkAdaptorImpl( 36 AudioNetworkAdaptorImpl(
34 const Config& config, 37 const Config& config,
35 std::unique_ptr<ControllerManager> controller_manager, 38 std::unique_ptr<ControllerManager> controller_manager,
36 std::unique_ptr<DebugDumpWriter> debug_dump_writer = nullptr); 39 std::unique_ptr<DebugDumpWriter> debug_dump_writer = nullptr);
37 40
38 ~AudioNetworkAdaptorImpl() override; 41 ~AudioNetworkAdaptorImpl() override;
39 42
(...skipping 23 matching lines...) Expand all
63 std::unique_ptr<DebugDumpWriter> debug_dump_writer_; 66 std::unique_ptr<DebugDumpWriter> debug_dump_writer_;
64 67
65 Controller::NetworkMetrics last_metrics_; 68 Controller::NetworkMetrics last_metrics_;
66 69
67 RTC_DISALLOW_COPY_AND_ASSIGN(AudioNetworkAdaptorImpl); 70 RTC_DISALLOW_COPY_AND_ASSIGN(AudioNetworkAdaptorImpl);
68 }; 71 };
69 72
70 } // namespace webrtc 73 } // namespace webrtc
71 74
72 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPT OR_IMPL_H_ 75 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPT OR_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698