Remove RTC_DISALLOW_COPY_AND_ASSIGN from rtc_base/

Bug: webrtc:13555, webrtc:13082
Change-Id: I406b7f04497562866ea3329e97c5adc96e927b6f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/245680
Reviewed-by: Harald Alvestrand <hta@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@{#35691}
This commit is contained in:
Byoungchan Lee
2022-01-12 05:24:58 +09:00
committed by WebRTC LUCI CQ
parent ca15fcd37e
commit 14af7622a7
43 changed files with 203 additions and 151 deletions

View File

@ -31,9 +31,11 @@ class AsyncSSLServerSocket : public BufferedReadAdapter {
public:
explicit AsyncSSLServerSocket(Socket* socket);
AsyncSSLServerSocket(const AsyncSSLServerSocket&) = delete;
AsyncSSLServerSocket& operator=(const AsyncSSLServerSocket&) = delete;
protected:
void ProcessInput(char* data, size_t* len) override;
RTC_DISALLOW_COPY_AND_ASSIGN(AsyncSSLServerSocket);
};
// Implements a proxy server socket for the SOCKS protocol.
@ -41,6 +43,10 @@ class AsyncSocksProxyServerSocket : public AsyncProxyServerSocket {
public:
explicit AsyncSocksProxyServerSocket(Socket* socket);
AsyncSocksProxyServerSocket(const AsyncSocksProxyServerSocket&) = delete;
AsyncSocksProxyServerSocket& operator=(const AsyncSocksProxyServerSocket&) =
delete;
private:
void ProcessInput(char* data, size_t* len) override;
void DirectSend(const ByteBufferWriter& buf);
@ -64,7 +70,6 @@ class AsyncSocksProxyServerSocket : public AsyncProxyServerSocket {
SS_ERROR
};
State state_;
RTC_DISALLOW_COPY_AND_ASSIGN(AsyncSocksProxyServerSocket);
};
} // namespace rtc