Index: webrtc/base/asyncpacketsocket.h |
diff --git a/webrtc/base/asyncpacketsocket.h b/webrtc/base/asyncpacketsocket.h |
index 949ec67c839d76c4c31e774182b826fdf6394aa3..b13788257d758ac1d6e2c8fdd7d0cdcf09a86fda 100644 |
--- a/webrtc/base/asyncpacketsocket.h |
+++ b/webrtc/base/asyncpacketsocket.h |
@@ -18,6 +18,8 @@ |
namespace rtc { |
+class Network; |
+ |
// This structure holds the info needed to update the packet send time header |
// extension, including the information needed to update the authentication tag |
// after changing the value. |
@@ -104,6 +106,8 @@ class AsyncPacketSocket : public sigslot::has_slots<> { |
virtual int GetError() const = 0; |
virtual void SetError(int error) = 0; |
+ virtual void BindToNetwork(const Network* network) {} |
+ |
// Emitted each time a packet is read. Used only for UDP and |
// connected TCP sockets. |
sigslot::signal5<AsyncPacketSocket*, const char*, size_t, |