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

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
Index: net/base/tcp_listen_socket.h
===================================================================
--- net/base/tcp_listen_socket.h (revision 155701)
+++ net/base/tcp_listen_socket.h (working copy)
@@ -22,14 +22,14 @@
static scoped_refptr<TCPListenSocket> CreateAndListen(
const std::string& ip, int port, StreamListenSocket::Delegate* del);
+ // Get raw socket descriptor bound to ip:port.
szym 2012/09/11 16:17:24 "raw socket" might mislead the reader to think the
halyavin 2012/09/12 14:29:58 Done.
+ static SocketDescriptor CreateAndBind(const std::string& ip, int port);
szym 2012/09/11 16:17:24 I'm okay with that for now, but I think it'd be be
protected:
szym 2012/09/11 16:17:24 nit: Blank line before protected: section.
halyavin 2012/09/12 14:29:58 Done.
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;
« chrome/browser/nacl_host/nacl_process_host.h ('K') | « chrome/nacl/nacl_listener.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698