Index: net/udp/udp_socket_libevent.h |
diff --git a/net/udp/udp_socket_libevent.h b/net/udp/udp_socket_libevent.h |
index 2d1cefd3aa99491bdcee1eb379ab90abd2f74ec6..130dcaf60d6fae1f5f05ad6a1d16be87eddab1d9 100644 |
--- a/net/udp/udp_socket_libevent.h |
+++ b/net/udp/udp_socket_libevent.h |
@@ -163,6 +163,9 @@ class NET_EXPORT UDPSocketLibevent : public base::NonThreadSafe { |
// Return a network error code. |
int SetDiffServCodePoint(DiffServCodePoint dscp); |
+ // Resets the thread to be used for thread-safety checks. |
+ void DetachFromThread(); |
+ |
private: |
enum SocketOptions { |
SOCKET_OPTION_REUSE_ADDRESS = 1 << 0, |