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

Unified Diff: net/base/tcp_listen_socket.h

Issue 10928050: Open socket for NaCl GDB debug stub in browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « chrome/nacl/nacl_listener.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/tcp_listen_socket.h
===================================================================
--- net/base/tcp_listen_socket.h (revision 156494)
+++ net/base/tcp_listen_socket.h (working copy)
@@ -22,14 +22,15 @@
static scoped_refptr<TCPListenSocket> CreateAndListen(
const std::string& ip, int port, StreamListenSocket::Delegate* del);
+ // Get raw TCP socket descriptor bound to ip:port.
+ static SocketDescriptor CreateAndBind(const std::string& ip, int port);
+
protected:
friend class scoped_refptr<TCPListenSocket>;
TCPListenSocket(SocketDescriptor s, StreamListenSocket::Delegate* del);
virtual ~TCPListenSocket();
- static SocketDescriptor CreateAndBind(const std::string& ip, int port);
-
// Implements StreamListenSocket::Accept.
virtual void Accept() OVERRIDE;
« no previous file with comments | « chrome/nacl/nacl_listener.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698