| Index: webrtc/api/peerconnectioninterface.h
|
| diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
|
| index 7a833438621737e624552b9cdac60285a5d6c7c4..4a734e52cfa95447bf95b109a5b7559d8f58ec3a 100644
|
| --- a/webrtc/api/peerconnectioninterface.h
|
| +++ b/webrtc/api/peerconnectioninterface.h
|
| @@ -439,6 +439,11 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
|
| // take the ownership of the |candidate|.
|
| virtual bool AddIceCandidate(const IceCandidateInterface* candidate) = 0;
|
|
|
| + // Removes a group of remote candidates from the ICE agent.
|
| + virtual bool RemoveIceCandidates(const cricket::Candidates& candidates) {
|
| + return false;
|
| + }
|
| +
|
| virtual void RegisterUMAObserver(UMAObserver* observer) = 0;
|
|
|
| // Returns the current SignalingState.
|
| @@ -495,6 +500,11 @@ class PeerConnectionObserver {
|
| // New Ice candidate have been found.
|
| virtual void OnIceCandidate(const IceCandidateInterface* candidate) = 0;
|
|
|
| + // Ice candidates have been removed.
|
| + // TODO(honghaiz): Make this a pure virtual method when all its subclasses
|
| + // implement it.
|
| + virtual void OnIceCandidatesRemoved(const cricket::Candidates& candidates) {}
|
| +
|
| // Called when the ICE connection receiving status changes.
|
| virtual void OnIceConnectionReceivingChange(bool receiving) {}
|
|
|
|
|