diff options
Diffstat (limited to 'net/udp/udp_socket_libevent.h')
-rw-r--r-- | net/udp/udp_socket_libevent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/udp/udp_socket_libevent.h b/net/udp/udp_socket_libevent.h index 6efaf49..a078150 100644 --- a/net/udp/udp_socket_libevent.h +++ b/net/udp/udp_socket_libevent.h @@ -97,6 +97,8 @@ class UDPSocketLibevent : public base::NonThreadSafe { // Returns true if the socket is already connected or bound. bool is_connected() const { return socket_ != kInvalidSocket; } + const BoundNetLog& NetLog() const { return net_log_; } + private: static const int kInvalidSocket = -1; |