Index: webrtc/api/peerconnection.cc |
diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc |
index c2039aeea414321e612e461d635df72e486904a3..9cd5cee04d512886cac2278e36886e848efacfbd 100644 |
--- a/webrtc/api/peerconnection.cc |
+++ b/webrtc/api/peerconnection.cc |
@@ -1207,6 +1207,12 @@ bool PeerConnection::AddIceCandidate( |
return session_->ProcessIceMessage(ice_candidate); |
} |
+bool PeerConnection::RemoveIceCandidates( |
+ const std::vector<cricket::Candidate>& candidates) { |
+ TRACE_EVENT0("webrtc", "PeerConnection::RemoveIceCandidates"); |
+ return session_->RemoveRemoteIceCandidates(candidates); |
+} |
+ |
void PeerConnection::RegisterUMAObserver(UMAObserver* observer) { |
TRACE_EVENT0("webrtc", "PeerConnection::RegisterUmaObserver"); |
uma_observer_ = observer; |
@@ -1385,6 +1391,12 @@ void PeerConnection::OnIceCandidate(const IceCandidateInterface* candidate) { |
observer_->OnIceCandidate(candidate); |
} |
+void PeerConnection::OnIceCandidatesRemoved( |
+ const std::vector<cricket::Candidate>& candidates) { |
+ RTC_DCHECK(signaling_thread()->IsCurrent()); |
+ observer_->OnIceCandidatesRemoved(candidates); |
+} |
+ |
void PeerConnection::OnIceConnectionReceivingChange(bool receiving) { |
RTC_DCHECK(signaling_thread()->IsCurrent()); |
observer_->OnIceConnectionReceivingChange(receiving); |