From 999fff45ed7770019dc83a8d68cca1a9b9e2df8c Mon Sep 17 00:00:00 2001 From: Yaowen Guo Date: Tue, 8 Nov 2022 15:39:36 +0800 Subject: [PATCH] Delete ChannelManager class declaration. ChannelManager has been deleted, these declaration should also be deleted. Bug: webrtc:13931 Change-Id: I2739a0424f61d6e659cb694a3f51bb6b90911cf9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/282520 Commit-Queue: Tomas Gunnarsson Reviewed-by: Tomas Gunnarsson Cr-Commit-Position: refs/heads/main@{#38579} --- pc/connection_context.h | 4 ---- pc/media_session.h | 1 - pc/peer_connection.h | 4 ---- pc/peer_connection_factory.h | 4 ---- pc/rtp_transceiver.h | 1 - pc/rtp_transmission_manager.h | 4 ---- pc/sdp_offer_answer.h | 5 ----- 7 files changed, 23 deletions(-) diff --git a/pc/connection_context.h b/pc/connection_context.h index 415ae121b5..0fe20c7890 100644 --- a/pc/connection_context.h +++ b/pc/connection_context.h @@ -32,10 +32,6 @@ #include "rtc_base/thread.h" #include "rtc_base/thread_annotations.h" -namespace cricket { -class ChannelManager; -} - namespace rtc { class BasicPacketSocketFactory; class UniqueRandomIdGenerator; diff --git a/pc/media_session.h b/pc/media_session.h index 3711110ccd..6548f9c436 100644 --- a/pc/media_session.h +++ b/pc/media_session.h @@ -46,7 +46,6 @@ class ConnectionContext; namespace cricket { -class ChannelManager; class MediaEngineInterface; // Default RTCP CNAME for unit tests. diff --git a/pc/peer_connection.h b/pc/peer_connection.h index 7d0eb18781..39a240da4f 100644 --- a/pc/peer_connection.h +++ b/pc/peer_connection.h @@ -84,10 +84,6 @@ #include "rtc_base/thread_annotations.h" #include "rtc_base/weak_ptr.h" -namespace cricket { -class ChannelManager; -} - namespace webrtc { // PeerConnection is the implementation of the PeerConnection object as defined diff --git a/pc/peer_connection_factory.h b/pc/peer_connection_factory.h index 036329f57a..9bed5ba105 100644 --- a/pc/peer_connection_factory.h +++ b/pc/peer_connection_factory.h @@ -46,10 +46,6 @@ #include "rtc_base/thread.h" #include "rtc_base/thread_annotations.h" -namespace cricket { -class ChannelManager; -} - namespace rtc { class BasicNetworkManager; class BasicPacketSocketFactory; diff --git a/pc/rtp_transceiver.h b/pc/rtp_transceiver.h index 625d0a52c5..0844b349b6 100644 --- a/pc/rtp_transceiver.h +++ b/pc/rtp_transceiver.h @@ -47,7 +47,6 @@ #include "rtc_base/thread_annotations.h" namespace cricket { -class ChannelManager; class MediaEngineInterface; } diff --git a/pc/rtp_transmission_manager.h b/pc/rtp_transmission_manager.h index c48b345c16..06ce4feeaf 100644 --- a/pc/rtp_transmission_manager.h +++ b/pc/rtp_transmission_manager.h @@ -40,10 +40,6 @@ #include "rtc_base/thread_annotations.h" #include "rtc_base/weak_ptr.h" -namespace cricket { -class ChannelManager; -} - namespace rtc { class Thread; } diff --git a/pc/sdp_offer_answer.h b/pc/sdp_offer_answer.h index c493dc0229..2124ed8697 100644 --- a/pc/sdp_offer_answer.h +++ b/pc/sdp_offer_answer.h @@ -63,10 +63,6 @@ #include "rtc_base/unique_id_generator.h" #include "rtc_base/weak_ptr.h" -namespace cricket { -class ChannelManager; -} - namespace webrtc { // SdpOfferAnswerHandler is a component @@ -569,7 +565,6 @@ class SdpOfferAnswerHandler : public SdpStateProvider { // ================================================================== // Access to pc_ variables - cricket::ChannelManager* channel_manager() const; cricket::MediaEngineInterface* media_engine() const; TransceiverList* transceivers(); const TransceiverList* transceivers() const;