Delete unused class DummyDtmfObserver

There's another copy in peer_connection_integrationtest.cc, which is
used by one test.

Bug: None
Change-Id: I4f81e107767253357f8eeb83d318133b8ee86698
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212027
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33480}
This commit is contained in:
Niels Möller 2021-03-16 11:51:18 +01:00 committed by Commit Bot
parent ab63350411
commit e37fa19702

View File

@ -83,26 +83,6 @@ class DataChannelIntegrationTestUnifiedPlan
: PeerConnectionIntegrationBaseTest(SdpSemantics::kUnifiedPlan) {} : PeerConnectionIntegrationBaseTest(SdpSemantics::kUnifiedPlan) {}
}; };
class DummyDtmfObserver : public DtmfSenderObserverInterface {
public:
DummyDtmfObserver() : completed_(false) {}
// Implements DtmfSenderObserverInterface.
void OnToneChange(const std::string& tone) override {
tones_.push_back(tone);
if (tone.empty()) {
completed_ = true;
}
}
const std::vector<std::string>& tones() const { return tones_; }
bool completed() const { return completed_; }
private:
bool completed_;
std::vector<std::string> tones_;
};
#ifdef WEBRTC_HAVE_SCTP #ifdef WEBRTC_HAVE_SCTP
// This test causes a PeerConnection to enter Disconnected state, and // This test causes a PeerConnection to enter Disconnected state, and