diff options
Diffstat (limited to 'webrtc/p2p/base/portinterface.h')
-rw-r--r-- | webrtc/p2p/base/portinterface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webrtc/p2p/base/portinterface.h b/webrtc/p2p/base/portinterface.h index 0f77036ac1..e83879f3b7 100644 --- a/webrtc/p2p/base/portinterface.h +++ b/webrtc/p2p/base/portinterface.h @@ -53,6 +53,8 @@ class PortInterface { virtual bool SharedSocket() const = 0; + virtual bool SupportsProtocol(const std::string& protocol) const = 0; + // PrepareAddress will attempt to get an address for this port that other // clients can send to. It may take some time before the address is ready. // Once it is ready, we will send SignalAddressReady. If errors are @@ -114,7 +116,7 @@ class PortInterface { const rtc::SocketAddress&> SignalReadPacket; // Emitted each time a packet is sent on this port. - sigslot::signal2<PortInterface*, const rtc::SentPacket&> SignalSentPacket; + sigslot::signal1<const rtc::SentPacket&> SignalSentPacket; virtual std::string ToString() const = 0; |