From 8a24c03663b2da5ab341a1dc46c3d0e933681d7a Mon Sep 17 00:00:00 2001 From: Harald Alvestrand Date: Mon, 24 Feb 2020 15:19:05 +0100 Subject: [PATCH] Remove deprecated AddContent function in session_description.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:10701 Change-Id: Ia1b8e5585c777d8f4c308bb8e4baffe752477057 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168950 Reviewed-by: Karl Wiberg Reviewed-by: Henrik Boström Commit-Queue: Harald Alvestrand Cr-Commit-Position: refs/heads/master@{#30615} --- pc/session_description.h | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/pc/session_description.h b/pc/session_description.h index 7546d12bcb..7aaf259027 100644 --- a/pc/session_description.h +++ b/pc/session_description.h @@ -541,29 +541,6 @@ class SessionDescription { bool bundle_only, std::unique_ptr 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);