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

Unified Diff: webrtc/modules/rtp_rtcp/include/receive_statistics.h

Issue 2988143002: Remove NullReceiveStatistics (Closed)
Patch Set: Created 3 years, 5 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/modules/rtp_rtcp/source/receive_statistics_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/include/receive_statistics.h
diff --git a/webrtc/modules/rtp_rtcp/include/receive_statistics.h b/webrtc/modules/rtp_rtcp/include/receive_statistics.h
index edbaf8f6f8a1d37a61d0bd211b1b86b5b70cb74d..d10e933810ed6db03278d2a5b921b67e042272da 100644
--- a/webrtc/modules/rtp_rtcp/include/receive_statistics.h
+++ b/webrtc/modules/rtp_rtcp/include/receive_statistics.h
@@ -95,21 +95,5 @@ class ReceiveStatistics : public ReceiveStatisticsProvider {
std::vector<rtcp::ReportBlock> RtcpReportBlocks(size_t max_blocks) override;
};
-class NullReceiveStatistics : public ReceiveStatistics {
- public:
- void IncomingPacket(const RTPHeader& rtp_header,
- size_t packet_length,
- bool retransmitted) override;
- void FecPacketReceived(const RTPHeader& header,
- size_t packet_length) override;
- StatisticianMap GetActiveStatisticians() const override;
- StreamStatistician* GetStatistician(uint32_t ssrc) const override;
- void SetMaxReorderingThreshold(int max_reordering_threshold) override;
- void RegisterRtcpStatisticsCallback(
- RtcpStatisticsCallback* callback) override;
- void RegisterRtpStatisticsCallback(
- StreamDataCountersCallback* callback) override;
-};
-
} // namespace webrtc
#endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RECEIVE_STATISTICS_H_
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698