Index: net/socket/socket_libevent.h |
diff --git a/net/socket/socket_libevent.h b/net/socket/socket_libevent.h |
index 98eaf92de0c3afd8466e77aaccaedfd404245ecc..0415780a4def85a1d0f1d5800d3cfee09d91dcd3 100644 |
--- a/net/socket/socket_libevent.h |
+++ b/net/socket/socket_libevent.h |
@@ -34,6 +34,8 @@ class SocketLibevent : public base::MessageLoopForIO::Watcher { |
// Takes ownership of |socket|. |
int AdoptConnectedSocket(SocketDescriptor socket, |
const SockaddrStorage& peer_address); |
+ // Releases ownership of |socket_fd_| to caller. |
+ SocketDescriptor ReleaseConnectedSocket(); |
int Bind(const SockaddrStorage& address); |