Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index 704fbb7a65416d42fab37cd8858a43fcdcc0292d..07ca5b0a168833fcc13a8f1259c6359c9ad6edaf 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -346,6 +346,9 @@ class Port : public PortInterface, public rtc::MessageHandler, |
return rtc::DSCP_NO_CHANGE; |
} |
+ // Extra work to be done in subclasses when a connection is destroyed. |
+ virtual void HandleConnectionDestroyed(Connection* conn) {} |
+ |
private: |
void Construct(); |
// Called when one of our connections deletes itself. |