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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_packet.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/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/source/rtp_packet.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.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet.h b/webrtc/modules/rtp_rtcp/source/rtp_packet.h
index 87974178346a68de8ec55071985ca48f4879f15e..fb19815b59343ee8ed35dcabf45936ea29f4236f 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_packet.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_packet.h
@@ -18,7 +18,6 @@
#include "webrtc/rtc_base/copyonwritebuffer.h"
namespace webrtc {
-struct RTPHeader;
class RtpHeaderExtensionMap;
class Random;
@@ -49,10 +48,6 @@ class Packet {
uint32_t Ssrc() const;
std::vector<uint32_t> Csrcs() const;
- // 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;
-
size_t headers_size() const;
// Payload.
@@ -127,7 +122,7 @@ class Packet {
explicit Packet(const ExtensionManager* extensions);
Packet(const Packet&);
Packet(const ExtensionManager* extensions, size_t capacity);
- virtual ~Packet();
+ ~Packet();
Packet& operator=(const Packet&) = default;
« no previous file with comments | « webrtc/modules/rtp_rtcp/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/source/rtp_packet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698