Replace uses of rtc:: and cricket:: namespaces

PiperOrigin-RevId: 756184076
This commit is contained in:
hai007
2025-05-08 00:24:40 -07:00
committed by Copybara-Service
parent 59e527dbe3
commit 236e17988c
2 changed files with 5 additions and 4 deletions
@@ -65,7 +65,7 @@ Exception WebRtcSocket::OutputStreamImpl::Close() {
// WebRtcSocket
WebRtcSocket::WebRtcSocket(
const std::string& name,
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel)
webrtc::scoped_refptr<webrtc::DataChannelInterface> data_channel)
: name_(name), data_channel_(std::move(data_channel)) {
NEARBY_LOGS(INFO) << "WebRtcSocket::WebRtcSocket(" << name_
<< ") this: " << this;
@@ -46,8 +46,9 @@ constexpr int kMaxDataSize = 1 * 1024 * 1024;
// which could lead to data loss.
class WebRtcSocket : public Socket, public webrtc::DataChannelObserver {
public:
WebRtcSocket(const std::string& name,
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel);
WebRtcSocket(
const std::string& name,
webrtc::scoped_refptr<webrtc::DataChannelInterface> data_channel);
~WebRtcSocket() override;
WebRtcSocket(const WebRtcSocket& other) = delete;
@@ -100,7 +101,7 @@ class WebRtcSocket : public Socket, public webrtc::DataChannelObserver {
void OffloadFromSignalingThread(Runnable runnable);
std::string name_;
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel_;
webrtc::scoped_refptr<webrtc::DataChannelInterface> data_channel_;
std::unique_ptr<InputStream> pipe_input_;
std::unique_ptr<OutputStream> pipe_output_;