From 97a58969edcefa8f6a2e701b82f5290cb936fcc3 Mon Sep 17 00:00:00 2001 From: Steve Anton Date: Mon, 23 Apr 2018 17:00:37 -0700 Subject: [PATCH] Remove PeerConnectionInterface::UpdateIce It is unused. Bug: None Change-Id: I368923299b28d7ec2f54ddd2b4ee5f69cb285b21 Reviewed-on: https://webrtc-review.googlesource.com/71963 Reviewed-by: Taylor Brandstetter Commit-Queue: Steve Anton Cr-Commit-Position: refs/heads/master@{#23006} --- api/peerconnectioninterface.h | 7 ------- pc/test/fakepeerconnectionbase.h | 7 ------- 2 files changed, 14 deletions(-) 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,