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

Unified Diff: net/base/tcp_listen_socket.h

Issue 11236025: Test that debug stub works with browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 8 years, 2 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 163266)
+++ net/base/tcp_listen_socket.h (working copy)
@@ -25,6 +25,8 @@
// Get raw TCP socket descriptor bound to ip:port.
static SocketDescriptor CreateAndBind(const std::string& ip, int port);
+ static int GetBindedPort(SocketDescriptor s);
Mark Seaborn 2012/10/23 01:14:50 GetBoundPort()? This needs a comment to explain t
szym 2012/10/23 02:08:48 suggest: GetBoundPort. I'd generally prefer if al
halyavin 2012/10/23 11:59:29 Done.
+
protected:
friend class scoped_refptr<TCPListenSocket>;

Powered by Google App Engine
This is Rietveld 408576698