Index: webrtc/p2p/base/p2ptransportchannel_unittest.cc |
diff --git a/webrtc/p2p/base/p2ptransportchannel_unittest.cc b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
index 68c46d6a74da4c3553cbcfc0877535a611aa9c7d..d519b11e8b69ec24e40ead5a2563c1a8f64e2bf4 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
+++ b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
@@ -303,8 +303,6 @@ class P2PTransportChannelTestBase : public testing::Test, |
const std::string& remote_ice_pwd) { |
cricket::P2PTransportChannel* channel = new cricket::P2PTransportChannel( |
"test content name", component, NULL, GetAllocator(endpoint)); |
- channel->SignalRequestSignaling.connect( |
- this, &P2PTransportChannelTestBase::OnChannelRequestSignaling); |
channel->SignalCandidateReady.connect(this, |
&P2PTransportChannelTestBase::OnCandidate); |
channel->SignalReadPacket.connect( |
@@ -616,9 +614,6 @@ class P2PTransportChannelTestBase : public testing::Test, |
DestroyChannels(); |
} |
- void OnChannelRequestSignaling(cricket::TransportChannelImpl* channel) { |
- channel->OnSignalingReady(); |
- } |
// We pass the candidates directly to the other side. |
void OnCandidate(cricket::TransportChannelImpl* ch, |
const cricket::Candidate& c) { |
@@ -1712,18 +1707,12 @@ class P2PTransportChannelPingTest : public testing::Test, |
protected: |
void PrepareChannel(cricket::P2PTransportChannel* ch) { |
- ch->SignalRequestSignaling.connect( |
- this, &P2PTransportChannelPingTest::OnChannelRequestSignaling); |
ch->SetIceProtocolType(cricket::ICEPROTO_RFC5245); |
ch->SetIceRole(cricket::ICEROLE_CONTROLLING); |
ch->SetIceCredentials(kIceUfrag[0], kIcePwd[0]); |
ch->SetRemoteIceCredentials(kIceUfrag[1], kIcePwd[1]); |
} |
- void OnChannelRequestSignaling(cricket::TransportChannelImpl* channel) { |
- channel->OnSignalingReady(); |
- } |
- |
cricket::Candidate CreateCandidate(const std::string& ip, |
int port, |
int priority) { |