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

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

Issue 2666533002: Add probe logging to RtcEventLog. (Closed)
Patch Set: Rebase + format 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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 7366c2947bb1a90b688f8758c5594d2d7b3a112a..fcc57004f02f0067ede1fbd7a157a07631b8eec6 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
@@ -46,6 +46,13 @@ class MockRtcEventLog : public RtcEventLog {
const uint8_t* header,
size_t packet_length));
+ MOCK_METHOD5(LogRtpHeader,
+ void(PacketDirection direction,
+ MediaType media_type,
+ const uint8_t* header,
+ size_t packet_length,
+ int probe_cluster_id));
+
MOCK_METHOD4(LogRtcpPacket,
void(PacketDirection direction,
MediaType media_type,
@@ -64,6 +71,13 @@ class MockRtcEventLog : public RtcEventLog {
MOCK_METHOD1(LogAudioNetworkAdaptation,
void(const AudioNetworkAdaptor::EncoderRuntimeConfig& config));
+
+ MOCK_METHOD4(LogProbeClusterCreated,
+ void(int id, int bitrate_bps, int min_probes, int min_bytes));
+
+ MOCK_METHOD2(LogProbeResultSuccess, void(int id, int bitrate_bps));
+ MOCK_METHOD2(LogProbeResultFailure,
+ void(int id, ProbeFailureReason failure_reason));
};
} // namespace webrtc
« no previous file with comments | « no previous file | webrtc/logging/rtc_event_log/rtc_event_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698