Index: webrtc/p2p/base/tcpport.h |
diff --git a/webrtc/p2p/base/tcpport.h b/webrtc/p2p/base/tcpport.h |
index a64c5eeab94ff6193bc7e3c206aa36b9ab920a46..568dc65f3d40f48a3a78aeb0e704f4a13191fffb 100644 |
--- a/webrtc/p2p/base/tcpport.h |
+++ b/webrtc/p2p/base/tcpport.h |
@@ -55,6 +55,9 @@ class TCPPort : public Port { |
virtual int GetOption(rtc::Socket::Option opt, int* value); |
virtual int SetOption(rtc::Socket::Option opt, int value); |
virtual int GetError(); |
+ virtual bool SupportsProtocol(const std::string& protocol) const { |
+ return protocol == TCP_PROTOCOL_NAME || protocol == SSLTCP_PROTOCOL_NAME; |
+ } |
protected: |
TCPPort(rtc::Thread* thread, |