Index: webrtc/p2p/base/relayport.h |
diff --git a/webrtc/p2p/base/relayport.h b/webrtc/p2p/base/relayport.h |
index 4b74b91ade67ac62a74e4bc1c6e8ef715fe0db1a..fdbf6e6f986a8fcaf887b99e09b28994c1eda91a 100644 |
--- a/webrtc/p2p/base/relayport.h |
+++ b/webrtc/p2p/base/relayport.h |
@@ -29,7 +29,7 @@ class RelayConnection; |
// is created. The RelayEntry will try to reach the remote destination |
// by connecting to all available server addresses in a pre defined |
// order with a small delay in between. When a connection is |
-// successful all other connection attemts are aborted. |
+// successful all other connection attempts are aborted. |
class RelayPort : public Port { |
public: |
typedef std::pair<rtc::Socket::Option, int> OptionValue; |
@@ -96,6 +96,11 @@ class RelayPort : public Port { |
ProtocolType proto, |
const rtc::PacketTime& packet_time); |
+ // The OnSentPacket callback is left empty here since they are handled by |
+ // RelayEntry. |
+ void OnSentPacket(rtc::AsyncPacketSocket* socket, |
+ const rtc::SentPacket& sent_packet) override {} |
+ |
private: |
friend class RelayEntry; |