Index: net/udp/udp_socket_win.h |
diff --git a/net/udp/udp_socket_win.h b/net/udp/udp_socket_win.h |
index 2f24877c1e0123e05fc8db838495d5dbf720c03f..28b7d4ae6699e172df6adc0a486cc98f4ba8d230 100644 |
--- a/net/udp/udp_socket_win.h |
+++ b/net/udp/udp_socket_win.h |
@@ -161,6 +161,9 @@ class NET_EXPORT UDPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe) { |
// do anything on some platforms. |
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, |