diff --git a/pc/BUILD.gn b/pc/BUILD.gn index 4fc4254c9b..3a0a7e4edc 100644 --- a/pc/BUILD.gn +++ b/pc/BUILD.gn @@ -446,7 +446,6 @@ rtc_source_set("rtp_transport") { "../rtc_base:logging", "../rtc_base:socket", "../rtc_base/network:sent_packet", - "../rtc_base/third_party/sigslot", ] absl_deps = [ "//third_party/abseil-cpp/absl/strings", @@ -608,7 +607,6 @@ rtc_source_set("srtp_transport") { "../rtc_base:safe_conversions", "../rtc_base:zero_memory", "../rtc_base/third_party/base64", - "../rtc_base/third_party/sigslot", ] absl_deps = [ "//third_party/abseil-cpp/absl/strings", @@ -1134,7 +1132,6 @@ rtc_source_set("sdp_offer_answer") { "../rtc_base:stringutils", "../rtc_base:threading", "../rtc_base:weak_ptr", - "../rtc_base/third_party/sigslot", "../system_wrappers:metrics", ] absl_deps = [ diff --git a/pc/rtp_transport.cc b/pc/rtp_transport.cc index 334dc4d0b2..1aa8660467 100644 --- a/pc/rtp_transport.cc +++ b/pc/rtp_transport.cc @@ -23,7 +23,6 @@ #include "rtc_base/checks.h" #include "rtc_base/copy_on_write_buffer.h" #include "rtc_base/logging.h" -#include "rtc_base/third_party/sigslot/sigslot.h" #include "rtc_base/trace_event.h" namespace webrtc { diff --git a/pc/rtp_transport.h b/pc/rtp_transport.h index 39d4ad5b54..1afcb5ee3d 100644 --- a/pc/rtp_transport.h +++ b/pc/rtp_transport.h @@ -28,7 +28,6 @@ #include "rtc_base/network/sent_packet.h" #include "rtc_base/network_route.h" #include "rtc_base/socket.h" -#include "rtc_base/third_party/sigslot/sigslot.h" namespace rtc { diff --git a/pc/sdp_offer_answer.h b/pc/sdp_offer_answer.h index 6a0aaaad27..bc5087c2b3 100644 --- a/pc/sdp_offer_answer.h +++ b/pc/sdp_offer_answer.h @@ -58,7 +58,6 @@ #include "rtc_base/checks.h" #include "rtc_base/operations_chain.h" #include "rtc_base/ssl_stream_adapter.h" -#include "rtc_base/third_party/sigslot/sigslot.h" #include "rtc_base/thread.h" #include "rtc_base/thread_annotations.h" #include "rtc_base/unique_id_generator.h" @@ -77,8 +76,7 @@ namespace webrtc { // - Parsing and interpreting SDP. // - Generating offers and answers based on the current state. // This class lives on the signaling thread. -class SdpOfferAnswerHandler : public SdpStateProvider, - public sigslot::has_slots<> { +class SdpOfferAnswerHandler : public SdpStateProvider { public: ~SdpOfferAnswerHandler(); diff --git a/pc/srtp_transport.cc b/pc/srtp_transport.cc index 0991a25fb5..838040876c 100644 --- a/pc/srtp_transport.cc +++ b/pc/srtp_transport.cc @@ -28,7 +28,6 @@ #include "rtc_base/numerics/safe_conversions.h" #include "rtc_base/ssl_stream_adapter.h" #include "rtc_base/third_party/base64/base64.h" -#include "rtc_base/third_party/sigslot/sigslot.h" #include "rtc_base/trace_event.h" #include "rtc_base/zero_memory.h" diff --git a/pc/test/peer_connection_test_wrapper.cc b/pc/test/peer_connection_test_wrapper.cc index 581d0004d3..d814b323c6 100644 --- a/pc/test/peer_connection_test_wrapper.cc +++ b/pc/test/peer_connection_test_wrapper.cc @@ -175,8 +175,6 @@ void PeerConnectionTestWrapper::OnIceCandidate( const IceCandidateInterface* candidate) { std::string sdp; EXPECT_TRUE(candidate->ToString(&sdp)); - // Give the user a chance to modify sdp for testing. - SignalOnIceCandidateCreated(&sdp); SignalOnIceCandidateReady(candidate->sdp_mid(), candidate->sdp_mline_index(), sdp); } @@ -196,9 +194,6 @@ void PeerConnectionTestWrapper::OnSuccess(SessionDescriptionInterface* desc) { << webrtc::SdpTypeToString(desc->GetType()) << " sdp created: " << sdp; - // Give the user a chance to modify sdp for testing. - SignalOnSdpCreated(&sdp); - SetLocalDescription(desc->GetType(), sdp); SignalOnSdpReady(sdp); diff --git a/pc/test/peer_connection_test_wrapper.h b/pc/test/peer_connection_test_wrapper.h index 4abf6c9ea5..cecd3ae8dc 100644 --- a/pc/test/peer_connection_test_wrapper.h +++ b/pc/test/peer_connection_test_wrapper.h @@ -99,10 +99,8 @@ class PeerConnectionTestWrapper bool video); // sigslots - sigslot::signal1 SignalOnIceCandidateCreated; sigslot::signal3 SignalOnIceCandidateReady; - sigslot::signal1 SignalOnSdpCreated; sigslot::signal1 SignalOnSdpReady; sigslot::signal1 SignalOnDataChannel;