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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_packet_received.h

Issue 3012983002: Remove RtpPacketToSend::GetHeader as almost unused. (Closed)
Patch Set: -forward declare of RTPHeader 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/modules/rtp_rtcp/source/rtp_packet.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_packet_received.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtp_packet_received.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet_received.h b/webrtc/modules/rtp_rtcp/source/rtp_packet_received.h
index 68c33e9387ff20807dd34f6d2d4c66b25c1687b1..14d30c9320c3fad5b30f396f18bf0487741de958 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_packet_received.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_packet_received.h
@@ -22,10 +22,9 @@ class RtpPacketReceived : public rtp::Packet {
explicit RtpPacketReceived(const ExtensionManager* extensions)
: Packet(extensions) {}
- void GetHeader(RTPHeader* header) const {
- Packet::GetHeader(header);
- header->payload_type_frequency = payload_type_frequency();
- }
+ // TODO(danilchap): Remove this function when all code update to use RtpPacket
+ // directly. Function is there just for easier backward compatibilty.
+ void GetHeader(RTPHeader* header) const;
// Time in local time base as close as it can to packet arrived on the
// network.
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_packet.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_packet_received.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698