Remove PeerConnectionInterface::UpdateIce

It is unused.

Bug: None
Change-Id: I368923299b28d7ec2f54ddd2b4ee5f69cb285b21
Reviewed-on: https://webrtc-review.googlesource.com/71963
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23006}
This commit is contained in:
Steve Anton
2018-04-23 17:00:37 -07:00
committed by Commit Bot
parent 2efb665e27
commit 97a58969ed
2 changed files with 0 additions and 14 deletions

View File

@ -919,13 +919,6 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
virtual void SetRemoteDescription(
std::unique_ptr<SessionDescriptionInterface> desc,
rtc::scoped_refptr<SetRemoteDescriptionObserverInterface> 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.

View File

@ -173,13 +173,6 @@ class FakePeerConnectionBase : public PeerConnectionInternal {
rtc::scoped_refptr<SetRemoteDescriptionObserverInterface> 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,