Remove unused StorageType enum

Bug: webrtc:10633
Change-Id: I65e1807c2e0419a51cd7274f85559d653c75046d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150644
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29003}
This commit is contained in:
Erik Språng 2019-08-28 10:49:08 +02:00 committed by Commit Bot
parent a2479f7dc4
commit 16946e3781
2 changed files with 0 additions and 12 deletions

View File

@ -45,9 +45,6 @@ const int kBogusRtpRateForAudioRtcp = 8000;
// Minimum RTP header size in bytes.
const uint8_t kRtpHeaderSize = 12;
// TODO(bugs.webrtc.org/10633): Remove once downstream usage is gone.
enum StorageType { kDontRetransmit, kAllowRetransmission };
bool IsLegalMidName(absl::string_view name);
bool IsLegalRsidName(absl::string_view name);

View File

@ -149,15 +149,6 @@ class RTPSender {
// Sends packet to |transport_| or to the pacer, depending on configuration.
bool SendToNetwork(std::unique_ptr<RtpPacketToSend> packet);
// TODO(bugs.webrtc.org/10633): Remove once StorageType is gone.
bool SendToNetwork(std::unique_ptr<RtpPacketToSend> packet,
StorageType storage) {
if (storage == StorageType::kAllowRetransmission) {
packet->set_allow_retransmission(true);
}
return SendToNetwork(std::move(packet));
}
// Called on update of RTP statistics.
void RegisterRtpStatisticsCallback(StreamDataCountersCallback* callback);
StreamDataCountersCallback* GetRtpStatisticsCallback() const;