Remove deprecated AddContent function in session_description.h

Bug: webrtc:10701
Change-Id: Ia1b8e5585c777d8f4c308bb8e4baffe752477057
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168950
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30615}
This commit is contained in:
Harald Alvestrand 2020-02-24 15:19:05 +01:00 committed by Commit Bot
parent 7f68bcb4b5
commit 8a24c03663

View File

@ -541,29 +541,6 @@ class SessionDescription {
bool bundle_only,
std::unique_ptr<MediaContentDescription> description);
void AddContent(ContentInfo&& content);
RTC_DEPRECATED void AddContent(const std::string& name,
MediaProtocolType type,
MediaContentDescription* description) {
AddContent(name, type, absl::WrapUnique(description));
}
RTC_DEPRECATED void AddContent(const std::string& name,
MediaProtocolType type,
bool rejected,
MediaContentDescription* description) {
AddContent(name, type, rejected, absl::WrapUnique(description));
}
RTC_DEPRECATED void AddContent(const std::string& name,
MediaProtocolType type,
bool rejected,
bool bundle_only,
MediaContentDescription* description) {
AddContent(name, type, rejected, bundle_only,
absl::WrapUnique(description));
}
RTC_DEPRECATED void AddContent(ContentInfo* content) {
AddContent(std::move(*content));
}
bool RemoveContentByName(const std::string& name);