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

Unified Diff: webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h

Issue 3012273002: Ignore this CL - here as a baseline only (originally Bjorn's CL)
Patch Set: Created 3 years, 3 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h
diff --git a/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h b/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h
index 707090e769faf05e3aa6a6973a3f93a0d5631dfd..cfe97d55f3e748323d7f3a41a11aaf42093bdb9b 100644
--- a/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h
+++ b/webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h
@@ -16,6 +16,8 @@
#include "webrtc/logging/rtc_event_log/rtc_event_log.h"
#include "webrtc/logging/rtc_event_log/rtc_stream_config.h"
#include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_network_adaptor.h"
+#include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
+#include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h"
#include "webrtc/test/gmock.h"
namespace webrtc {
@@ -42,21 +44,16 @@ class MockRtcEventLog : public RtcEventLog {
MOCK_METHOD1(LogAudioSendStreamConfig,
void(const rtclog::StreamConfig& config));
- MOCK_METHOD3(LogRtpHeader,
- void(PacketDirection direction,
- const uint8_t* header,
- size_t packet_length));
-
- MOCK_METHOD4(LogRtpHeader,
- void(PacketDirection direction,
- const uint8_t* header,
- size_t packet_length,
- int probe_cluster_id));
-
- MOCK_METHOD3(LogRtcpPacket,
- void(PacketDirection direction,
- const uint8_t* packet,
- size_t length));
+ MOCK_METHOD1(LogIncomingRtpHeader, void(const RtpPacketReceived& packet));
+
+ MOCK_METHOD2(LogOutgoingRtpHeader,
+ void(const RtpPacketToSend& packet, int probe_cluster_id));
+
+ MOCK_METHOD1(LogIncomingRtcpPacket,
+ void(rtc::ArrayView<const uint8_t> packet));
+
+ MOCK_METHOD1(LogOutgoingRtcpPacket,
+ void(rtc::ArrayView<const uint8_t> packet));
MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc));
« 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