| Index: webrtc/p2p/base/portallocator.h
|
| diff --git a/webrtc/p2p/base/portallocator.h b/webrtc/p2p/base/portallocator.h
|
| index 5deae7f736dcc71529fa897f3d3fe69e84719117..a565a12641a126749adb5cbc47798afd41c57aa9 100644
|
| --- a/webrtc/p2p/base/portallocator.h
|
| +++ b/webrtc/p2p/base/portallocator.h
|
| @@ -189,6 +189,9 @@ class PortAllocatorSession : public sigslot::has_slots<> {
|
| virtual std::vector<PortInterface*> ReadyPorts() const = 0;
|
| virtual std::vector<Candidate> ReadyCandidates() const = 0;
|
| virtual bool CandidatesAllocationDone() const = 0;
|
| + // Marks all ports in the current session as "pruned" so that they may be
|
| + // destroyed if no connection is using them.
|
| + virtual void PruneAllPorts() {}
|
|
|
| sigslot::signal2<PortAllocatorSession*, PortInterface*> SignalPortReady;
|
| // Fires this signal when the network of the ports failed (either because the
|
|
|