Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: net/socket/tcp_socket_win.h

Issue 236203018: win: Implement Bluetooth server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for #3 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/tcp_socket_win.h
diff --git a/net/socket/tcp_socket_win.h b/net/socket/tcp_socket_win.h
index f886d33c14ed4710b23f38e34d662c98d2d9a0c0..a164f6f0f794b911ac996a96ba115ae693812123 100644
--- a/net/socket/tcp_socket_win.h
+++ b/net/socket/tcp_socket_win.h
@@ -35,6 +35,8 @@ class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe),
int AdoptConnectedSocket(SOCKET socket, const IPEndPoint& peer_address);
int Bind(const IPEndPoint& address);
+ // Takes ownership of |socket|.
+ int AdoptBoundSocket(SOCKET socket);
wtc 2014/04/24 23:09:31 IMPORTANT: It would be better to list this method
xiyuan 2014/04/25 20:29:29 Renamed to AdoptListenSocket since the adopted |so
int Listen(int backlog);
int Accept(scoped_ptr<TCPSocketWin>* socket,

Powered by Google App Engine
This is Rietveld 408576698