From fe91129f6b2f35f16e029f94ba68ffbd1401c119 Mon Sep 17 00:00:00 2001 From: Yaowen Guo Date: Wed, 1 Jun 2022 18:57:04 +0800 Subject: [PATCH] Delete the remaining comments about SrtpTransportInterface. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SrtpTransportInterface has been deleted, but the comment is still retained. Bug: None Change-Id: I5565a29bea663a396560f7458abbe902187b1338 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/264660 Reviewed-by: Henrik Boström Commit-Queue: Henrik Boström Cr-Commit-Position: refs/heads/main@{#37131} --- pc/rtp_transport_internal.h | 8 ++++---- pc/srtp_transport.h | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pc/rtp_transport_internal.h b/pc/rtp_transport_internal.h index ea1f5375ea..9e816113f1 100644 --- a/pc/rtp_transport_internal.h +++ b/pc/rtp_transport_internal.h @@ -27,10 +27,10 @@ struct PacketOptions; namespace webrtc { -// This represents the internal interface beneath SrtpTransportInterface; -// it is not accessible to API consumers but is accessible to internal classes -// in order to send and receive RTP and RTCP packets belonging to a single RTP -// session. Additional convenience and configuration methods are also provided. +// This class is an internal interface; it is not accessible to API consumers +// but is accessible to internal classes in order to send and receive RTP and +// RTCP packets belonging to a single RTP session. Additional convenience and +// configuration methods are also provided. class RtpTransportInternal : public sigslot::has_slots<> { public: virtual ~RtpTransportInternal() = default; diff --git a/pc/srtp_transport.h b/pc/srtp_transport.h index e4b0d9fff6..ae62d5b780 100644 --- a/pc/srtp_transport.h +++ b/pc/srtp_transport.h @@ -41,7 +41,6 @@ class SrtpTransport : public RtpTransport { virtual ~SrtpTransport() = default; - // SrtpTransportInterface specific implementation. virtual RTCError SetSrtpSendKey(const cricket::CryptoParams& params); virtual RTCError SetSrtpReceiveKey(const cricket::CryptoParams& params);