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

Side by Side Diff: webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h

Issue 2666533002: Add probe logging to RtcEventLog. (Closed)
Patch Set: Fix comments. 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 28 matching lines...) Expand all
39 39
40 MOCK_METHOD1(LogAudioSendStreamConfig, 40 MOCK_METHOD1(LogAudioSendStreamConfig,
41 void(const webrtc::AudioSendStream::Config& config)); 41 void(const webrtc::AudioSendStream::Config& config));
42 42
43 MOCK_METHOD4(LogRtpHeader, 43 MOCK_METHOD4(LogRtpHeader,
44 void(PacketDirection direction, 44 void(PacketDirection direction,
45 MediaType media_type, 45 MediaType media_type,
46 const uint8_t* header, 46 const uint8_t* header,
47 size_t packet_length)); 47 size_t packet_length));
48 48
49 MOCK_METHOD5(LogRtpHeader,
50 void(PacketDirection direction,
51 MediaType media_type,
52 const uint8_t* header,
53 size_t packet_length,
54 int probe_cluster_id));
55
49 MOCK_METHOD4(LogRtcpPacket, 56 MOCK_METHOD4(LogRtcpPacket,
50 void(PacketDirection direction, 57 void(PacketDirection direction,
51 MediaType media_type, 58 MediaType media_type,
52 const uint8_t* packet, 59 const uint8_t* packet,
53 size_t length)); 60 size_t length));
54 61
55 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc)); 62 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc));
56 63
57 MOCK_METHOD3(LogBwePacketLossEvent, 64 MOCK_METHOD3(LogBwePacketLossEvent,
58 void(int32_t bitrate, 65 void(int32_t bitrate,
59 uint8_t fraction_loss, 66 uint8_t fraction_loss,
60 int32_t total_packets)); 67 int32_t total_packets));
61 MOCK_METHOD1(LogAudioNetworkAdaptation, 68 MOCK_METHOD1(LogAudioNetworkAdaptation,
62 void(const AudioNetworkAdaptor::EncoderRuntimeConfig& config)); 69 void(const AudioNetworkAdaptor::EncoderRuntimeConfig& config));
70
71 MOCK_METHOD4(LogProbeClusterCreated,
72 void(int id, int bitrate_bps, int min_probes, int min_bytes));
73
74 MOCK_METHOD2(LogProbeResultSuccess, void(int id, int bitrate_bps));
75 MOCK_METHOD2(LogProbeResultFailure,
76 void(int id, ProbeFailureReason failure_reason));
63 }; 77 };
64 78
65 } // namespace webrtc 79 } // namespace webrtc
66 80
67 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_MOCK_MOCK_RTC_EVENT_LOG_H_ 81 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_MOCK_MOCK_RTC_EVENT_LOG_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/logging/rtc_event_log/rtc_event_log.h » ('j') | webrtc/logging/rtc_event_log/rtc_event_log.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698