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

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

Issue 2400993002: Fix chromium-style warnings. (Closed)
Patch Set: Created 4 years, 2 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
Index: webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h b/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
index bd3aae72b5e64e4d91ed6fb8378662102a95d1f7..2a38e712fedd04be74fead689a2d0e550690ef78 100644
--- a/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
+++ b/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
@@ -321,39 +321,6 @@ class RtcpRttStats {
virtual ~RtcpRttStats() {}
};
-// Null object version of RtpFeedback.
-class NullRtpFeedback : public RtpFeedback {
- public:
- virtual ~NullRtpFeedback() {}
-
- int32_t OnInitializeDecoder(int8_t payload_type,
- const char payloadName[RTP_PAYLOAD_NAME_SIZE],
- int frequency,
- size_t channels,
- uint32_t rate) override {
- return 0;
- }
-
- void OnIncomingSSRCChanged(uint32_t ssrc) override {}
- void OnIncomingCSRCChanged(uint32_t csrc, bool added) override {}
-};
-
-// Null object version of RtpData.
-class NullRtpData : public RtpData {
- public:
- virtual ~NullRtpData() {}
-
- int32_t OnReceivedPayloadData(const uint8_t* payload_data,
- size_t payload_size,
- const WebRtcRTPHeader* rtp_header) override {
- return 0;
- }
-
- bool OnRecoveredPacket(const uint8_t* packet, size_t packet_length) override {
- return true;
- }
-};
-
// Statistics about packet loss for a single directional connection. All values
// are totals since the connection initiated.
struct RtpPacketLossStats {

Powered by Google App Engine
This is Rietveld 408576698