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

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

Issue 2855143002: Removed RtcEventLog deps to call:call_interfaces. (Closed)
Patch Set: Made GetSend/ReceiveConfig private. Created 3 years, 6 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 | « webrtc/logging/BUILD.gn ('k') | webrtc/logging/rtc_event_log/rtc_event_log.h » ('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
(...skipping 23 matching lines...) Expand all
34 34
35 MOCK_METHOD1(LogVideoSendStreamConfig, 35 MOCK_METHOD1(LogVideoSendStreamConfig,
36 void(const rtclog::StreamConfig& config)); 36 void(const rtclog::StreamConfig& config));
37 37
38 MOCK_METHOD1(LogAudioReceiveStreamConfig, 38 MOCK_METHOD1(LogAudioReceiveStreamConfig,
39 void(const rtclog::StreamConfig& config)); 39 void(const rtclog::StreamConfig& config));
40 40
41 MOCK_METHOD1(LogAudioSendStreamConfig, 41 MOCK_METHOD1(LogAudioSendStreamConfig,
42 void(const rtclog::StreamConfig& config)); 42 void(const rtclog::StreamConfig& config));
43 43
44 MOCK_METHOD4(LogRtpHeader, 44 MOCK_METHOD3(LogRtpHeader,
45 void(PacketDirection direction, 45 void(PacketDirection direction,
46 MediaType media_type,
47 const uint8_t* header, 46 const uint8_t* header,
48 size_t packet_length)); 47 size_t packet_length));
49 48
50 MOCK_METHOD5(LogRtpHeader, 49 MOCK_METHOD4(LogRtpHeader,
51 void(PacketDirection direction, 50 void(PacketDirection direction,
52 MediaType media_type,
53 const uint8_t* header, 51 const uint8_t* header,
54 size_t packet_length, 52 size_t packet_length,
55 int probe_cluster_id)); 53 int probe_cluster_id));
56 54
57 MOCK_METHOD4(LogRtcpPacket, 55 MOCK_METHOD3(LogRtcpPacket,
58 void(PacketDirection direction, 56 void(PacketDirection direction,
59 MediaType media_type,
60 const uint8_t* packet, 57 const uint8_t* packet,
61 size_t length)); 58 size_t length));
62 59
63 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc)); 60 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc));
64 61
65 MOCK_METHOD3(LogLossBasedBweUpdate, 62 MOCK_METHOD3(LogLossBasedBweUpdate,
66 void(int32_t bitrate_bps, 63 void(int32_t bitrate_bps,
67 uint8_t fraction_loss, 64 uint8_t fraction_loss,
68 int32_t total_packets)); 65 int32_t total_packets));
69 66
70 MOCK_METHOD2(LogDelayBasedBweUpdate, 67 MOCK_METHOD2(LogDelayBasedBweUpdate,
71 void(int32_t bitrate_bps, BandwidthUsage detector_state)); 68 void(int32_t bitrate_bps, BandwidthUsage detector_state));
72 69
73 MOCK_METHOD1(LogAudioNetworkAdaptation, 70 MOCK_METHOD1(LogAudioNetworkAdaptation,
74 void(const AudioEncoderRuntimeConfig& config)); 71 void(const AudioEncoderRuntimeConfig& config));
75 72
76 MOCK_METHOD4(LogProbeClusterCreated, 73 MOCK_METHOD4(LogProbeClusterCreated,
77 void(int id, int bitrate_bps, int min_probes, int min_bytes)); 74 void(int id, int bitrate_bps, int min_probes, int min_bytes));
78 75
79 MOCK_METHOD2(LogProbeResultSuccess, void(int id, int bitrate_bps)); 76 MOCK_METHOD2(LogProbeResultSuccess, void(int id, int bitrate_bps));
80 MOCK_METHOD2(LogProbeResultFailure, 77 MOCK_METHOD2(LogProbeResultFailure,
81 void(int id, ProbeFailureReason failure_reason)); 78 void(int id, ProbeFailureReason failure_reason));
82 }; 79 };
83 80
84 } // namespace webrtc 81 } // namespace webrtc
85 82
86 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_MOCK_MOCK_RTC_EVENT_LOG_H_ 83 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_MOCK_MOCK_RTC_EVENT_LOG_H_
OLDNEW
« no previous file with comments | « webrtc/logging/BUILD.gn ('k') | webrtc/logging/rtc_event_log/rtc_event_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698