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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.h

Issue 2666533002: Add probe logging to RtcEventLog. (Closed)
Patch Set: Comment fix. Created 3 years, 10 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) 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
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 static void VerifyAudioNetworkAdaptation( 59 static void VerifyAudioNetworkAdaptation(
60 const ParsedRtcEventLog& parsed_log, 60 const ParsedRtcEventLog& parsed_log,
61 size_t index, 61 size_t index,
62 const AudioNetworkAdaptor::EncoderRuntimeConfig& config); 62 const AudioNetworkAdaptor::EncoderRuntimeConfig& config);
63 63
64 static void VerifyLogStartEvent(const ParsedRtcEventLog& parsed_log, 64 static void VerifyLogStartEvent(const ParsedRtcEventLog& parsed_log,
65 size_t index); 65 size_t index);
66 static void VerifyLogEndEvent(const ParsedRtcEventLog& parsed_log, 66 static void VerifyLogEndEvent(const ParsedRtcEventLog& parsed_log,
67 size_t index); 67 size_t index);
68
69 static void VerifyBweProbeCluster(const ParsedRtcEventLog& parsed_log,
70 size_t index,
71 uint32_t id,
72 uint32_t bitrate_bps,
73 uint32_t min_probes,
74 uint32_t min_bytes);
75
76 static void VerifyProbeResultSuccess(const ParsedRtcEventLog& parsed_log,
77 size_t index,
78 uint32_t id,
79 uint32_t bitrate_bps);
80
81 static void VerifyProbeResultFailure(const ParsedRtcEventLog& parsed_log,
82 size_t index,
83 uint32_t id,
84 ProbeFailureReason failure_reason);
68 }; 85 };
69 86
70 } // namespace webrtc 87 } // namespace webrtc
71 88
72 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_ 89 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_UNITTEST_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698