Remove RTC_DISALLOW_COPY_AND_ASSIGN more.

Bug: webrtc:13555, webrtc:13082
Change-Id: I9c07708108da0a26f5e228384fd56cef4d1540b3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/247300
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: (Daniel.L) Byoungchan Lee <daniel.l@hpcnt.com>
Cr-Commit-Position: refs/heads/main@{#35749}
This commit is contained in:
Byoungchan Lee
2022-01-18 09:35:48 +09:00
committed by WebRTC LUCI CQ
parent cf9899c518
commit c065e739e2
28 changed files with 100 additions and 86 deletions

View File

@ -15,7 +15,6 @@
#include "api/scoped_refptr.h"
#include "api/sequence_checker.h"
#include "rtc_base/constructor_magic.h"
#include "rtc_base/synchronization/mutex.h"
// Forward declaration to avoid pulling in libsrtp headers here
@ -35,6 +34,9 @@ class SrtpSession {
SrtpSession();
~SrtpSession();
SrtpSession(const SrtpSession&) = delete;
SrtpSession& operator=(const SrtpSession&) = delete;
// Configures the session for sending data using the specified
// cipher-suite and key. Receiving must be done by a separate session.
bool SetSend(int cs,
@ -141,7 +143,6 @@ class SrtpSession {
bool external_auth_enabled_ = false;
int decryption_failure_count_ = 0;
bool dump_plain_rtp_ = false;
RTC_DISALLOW_COPY_AND_ASSIGN(SrtpSession);
};
} // namespace cricket