diff --git a/api/peerconnectioninterface.h b/api/peerconnectioninterface.h index fa74b6d325..28129bf28c 100644 --- a/api/peerconnectioninterface.h +++ b/api/peerconnectioninterface.h @@ -919,13 +919,6 @@ class PeerConnectionInterface : public rtc::RefCountInterface { virtual void SetRemoteDescription( std::unique_ptr desc, rtc::scoped_refptr observer) {} - // Deprecated; Replaced by SetConfiguration. - // TODO(deadbeef): Remove once Chrome is moved over to SetConfiguration. - virtual bool UpdateIce(const IceServers& configuration, - const MediaConstraintsInterface* constraints) { - return false; - } - virtual bool UpdateIce(const IceServers& configuration) { return false; } // TODO(deadbeef): Make this pure virtual once all Chrome subclasses of // PeerConnectionInterface implement it. diff --git a/pc/test/fakepeerconnectionbase.h b/pc/test/fakepeerconnectionbase.h index 9f670484e5..64164ba85e 100644 --- a/pc/test/fakepeerconnectionbase.h +++ b/pc/test/fakepeerconnectionbase.h @@ -173,13 +173,6 @@ class FakePeerConnectionBase : public PeerConnectionInternal { rtc::scoped_refptr observer) override {} - bool UpdateIce(const IceServers& configuration, - const MediaConstraintsInterface* constraints) override { - return false; - } - - bool UpdateIce(const IceServers& configuration) override { return false; } - RTCConfiguration GetConfiguration() override { return RTCConfiguration(); } bool SetConfiguration(const PeerConnectionInterface::RTCConfiguration& config,